Rancidity happens when the fats in food are oxidized. This is caused by exposure to water, microbes, metallic atoms, or oxygen. Rancid foods will have a bad smell or taste and can upset your stomach. Rancidity also reduces the nutritional value of food too!