Trazodone is an antidepressant medication primarily used to treat major depressive disorder and sometimes prescribed for anxiety and insomnia. It works by inhibiting the reuptake of serotonin, a neurotransmitter that helps regulate mood. Trazodone is often favored for its sedative effects, making it useful for patients who struggle with sleep disturbances related to depression. Common side effects may include drowsiness, dizziness, and dry mouth.