Serotonin is a chemical messenger that helps control mood, feelings Side effects of metronidazole well-being and appetite. Serotonin’s also important for controlling sleep and wake cycles. Zoloft (Sertraline) works by helping to restore the balance of serotonin in the brain, which ensures we feel good, happy and healthy.