system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5:How does a refrigerator generate cold?
gpt
1. The compressor squeezes the refrigerant (inside coils and tubing) which is in a vapor state - this raises its temperature,  then  pushes it into the coils on the outside of the  refrigerator.



2. The hot gas in the outside coils cools down to the air temperature of the kitchen.



3. The refrigerant flows into the coils inside the freezer and the fridge - as it flows, it expands.  This pulls heat from the refrigerator interior.



4. The refrigerant expands, absorbs the heat from inside the fridge, cooling down the air.   


5. It then flows back to the compressor, where the cycle starts all over.