Amitriptyline is a tricyclic antidepressant that increases the activity of certain chemicals in the brain (norepinephrine, serotonin), which help improve mood.
Zoloft is a selective serotonin reuptake inhibitor to treat depression, posttraumatic stress disorder, panic disorder, certain types of social anxiety conditions.