Fats or oils (also generally called fats) are added to foods, like crackers, cookies, and cakes, to improve the taste and feel (texture) of foods. Foods become rancid when there is a chemical change to the fats in the food. There are three types of rancidity: hydrolytic, oxidative, and ketonic.