Sertraline works by helping to restore the balance of neurotransmitter serotonin which results in changes in your mood, feeling less anxious, sleep better, improves your concentration, among other benefits.