H2 receptors are a class of histamine receptors found primarily in the stomach lining, where they play a crucial role in regulating gastric acid secretion. They are targeted by H2 receptor antagonists, which are commonly used to treat conditions like peptic ulcers and gastroesophageal reflux disease by reducing stomach acid production.