Fats or triglycerides are formed by:
condensation reaction between the carboxylic acid groups of glycerol and fatty acids
polymerization of fatty acids
condensation of H group of glycerol and OH of fatty acid
the COOH group of glycerol and H of fatty acid
Fats are composed of fatty acid and glycerol.