Sertraline belongs to a class of antidepressants known as selective serotonin reuptake inhibitors (SSRIs). Sertraline is sold under the brand name Zoloft, and there are also generic versions. It is available at most pharmacies.