Foods that are canned are cooked at a high temperature and then placed in airtight containers. What effect do these actions have on the food?
It preserves them.
Sometimes of course, you will open a tin and the contents have gone bad. A small hole in the tin has allowed the ingress of oxygen and bacteria.
Of course, when you buy tinned fruit and vegetables, the contents are fully cooked and very tender.