Desvenlafaxine is a serotonin-norepinephrine reuptake inhibitor (SNRI) used primarily to treat major depressive disorder (MDD). It functions by increasing the levels of serotonin and norepinephrine in the brain, which are chemicals that help regulate mood.