Foodstuffs which never spoil

Canning

It is a method of preserving food in which the food contents are processed and sealed in an airtight container. Canning provides a shelf life typically ranging from one to five years, although under specific circumstances it can be much longer. A freeze-dried canned product, such as canned dried lentils, could last as long as 30 years in an edible state.