What is the difference between a refrigerator and a freezer?

A fridge keeps things cool , a freezer freezes things, the mechanics are basically the same.