Peptic ulcers are sores that develop on the lining of the stomach, small intestine, or esophagus, often due to the erosion caused by stomach acid. These ulcers are primarily caused by infection with Helicobacter pylori bacteria or the long-term use of nonsteroidal anti-inflammatory drugs (NSAIDs). Understanding peptic ulcers highlights the interplay between mechanical and chemical digestion, as they can significantly affect how food is broken down and absorbed in the digestive system.