The reaction between alkanoic acids and alkanols in the presence of a mineral acid is…