Sertraline is a type of antidepressant that is known as selective serotonin reuptake inhibitors, or SSRIs, and therefore it works by increasing the levels of a mood-enhancing chemical called serotonin in the brain.