Now, what basically happens is an intramolecular nucleophilic reaction takes place in which the hydroxyl group, the oxygen of the hydroxyl group found on the fifth carbon, basically attacks nucleophilically, the carbon of this carbonyl that is part of this aldehyde group, and we form this bond.