Canning is a very useful method to deal with a surplus of production from your garden. We regularly conserve vegetables from our garden in glass jars. We also do this with meat, legumes, really anything we can get our hands on that's on sale. We also make soups and mixtures such as sloppy joe and conserve them.
It's really simple: you take glass jars (the kind that can be closed hermetically, there are multiple kinds), put the food in them, seal the jars, put them in a big casserole full of water, and boil them (an hour for vegetables, and hour and a half for meats). That's all. They can last for years if properly sealed.