Hydrolysis is a chemical reaction that occurs when a molecule is split into two or more parts in the presence…