Sertraline is a prescription antidepressant (SSRI) used primarily to treat depression, obsessive-compulsive disorder (OCD), panic disorder, post-traumatic stress disorder (PTSD), social anxiety disorder, and premenstrual dysphoric disorder (PMDD). It works by increasing serotonin levels in the brain to improve mood and reduce anxiety.