The invention of the freezer can be traced back to the mid-20th century, specifically to 1929 when a man named Carl Paul Frederick von Leyden developed the first mechanical refrigerator with a freezing compartment. However, the idea of freezing food predates this invention. The first commercially successful home freezer, which was introduced by General Electric, appeared in 1940. This innovation revolutionized how we preserved food, making it easier and more efficient than ever before.