Imipramine is a tricyclic antidepressant primarily used to treat depression and enuresis (bedwetting) in children. It works by inhibiting the reuptake of norepinephrine and serotonin, thus improving mood and reducing unwanted nocturnal urination. Due to its sedative and anticholinergic properties, its use is often carefully monitored.