We may receive a commission on purchases made from links. Some canned foods are must-haves in your pantry. They're nonperishable, meaning they last much longer than anything you'd keep in the fridge.