Peptic ulcer is a sore or erosion in the lining of the stomach or small intestine, typically caused by infection or prolonged use of certain medications. It causes pain, burning sensation, and may lead to bleeding if left untreated.