Paroxetine is in a class of medications called selective serotonin-reuptake inhibitors (SSRIs). It treats depression and other mental illnesses by increasing the amount of serotonin, a natural substance in the brain that helps maintain mental balance.