There are 3 main types of rancidity in fats:
Oxidative: Oxygen reacts with unsaturated fats, causing off-flavors (think nuts).
Hydrolytic: Water breaks down fats, leading to soapy or sour smells.
Microbial: Microbes like bacteria grow, spoiling fats with unpleasant odors.