This means 'instead of' something. It shows you are swapping one thing for another. You give up one thing to get something else.
に、。
Instead of taking the bus, I walked to the station.
、。
This apartment is small, but in return, the rent is cheap.
、。
Instead of doing nothing, please help at least a little.
で、。
In exchange for teaching him for free, he treats me to lunch sometimes.
、。
I've heard that job is tough, but in return, the salary is high.