Cimetidine is an H2-receptor antagonist that is commonly used to treat conditions related to excess stomach acid, such as peptic ulcers, gastroesophageal reflux disease (GERD), and Zollinger-Ellison syndrome. It works by blocking histamine receptors in the stomach, thereby reducing the production of stomach acid.