The ester formed between 1-octanol and glacial acetic acid is octyl acetate. The reaction between an alcohol and a carboxylic acid to form an ester is known as esterification. In this case, 1-octanol reacts with glacial acetic acid in the presence of a catalyst, such as sulfuric acid, to form octyl acetate and water.
The reaction can be represented as follows:
CH3CH2CH2CH2CH2CH2CH2CH2OH + CH3COOH → CH3CH2CH2CH2CH2CH2CH2CH2OCOCH3 + H2O
Octyl acetate is a colorless liquid with a fruity odor. It is used as a flavoring agent in food and beverages, and as a solvent in perfumes and cosmetics.