The mechanism of acid hydrolysis involves the protonation of the substrate by the acid, making it more susceptible to nucleophilic attack by water. For example, during the hydrolysis of an ester, the carbonyl oxygen is protonated, making the carbon more electrophilic. This facilitates the attack by water, leading to the formation of a carboxylic acid and an alcohol.