Doxylamine is a first-generation antihistamine often used as a short-term sleep aid due to its strong sedative effects. It also treats allergies and nausea in pregnancy (as part of combination therapy). It acts by inhibiting central and peripheral histamine H1 receptors.