Acid phosphatase (EC 3.1.3.2, systematic name phosphate-monoester phosphohydrolase (acid optimum)) is an enzyme that frees attached phosphoryl groups from other molecules during digestion. It can be further classified as a phosphomonoesterase. It is stored in lysosomes and functions when these