Pepsin is produced in the stomach as pepsinogen (inactive precursor) and activated by stomach acid to digest proteins. Trypsin comes from the pancreas, amylase from salivary glands and pancreas (not liver), and maltase is an intestinal brush-border enzyme.