When a fatty acid reacts with glycerol to form a triglyceride, the functional group produced is an ester group. This occurs through a condensation reaction where the hydroxyl (–OH) groups of glycerol react with the carboxyl (–COOH) groups of fatty acids, resulting in the formation of ester bonds and the release of water molecules. Specifically, three ester groups are formed when three fatty acids react with the three hydroxyl groups of glycerol to create a triglyceride (also called triacylglycerol)