What is Difference between refrigerator and air conditioners?

They both use the same processes and the same machinery. One just cools a vacuum-sealed container with food in it, and the other cools a house. A refrigerator is just a vacuum-sealed closet with a particularly intense AC