Sertraline is a widely used antidepressant medication that belongs to the class of selective serotonin reuptake inhibitors (SSRIs). It works…