5-HTP is an amino acid. Amino acids are substances that build proteins in your body. 5-HTP is related to serotonin, a brain chemical that affects mood, sleep, and pain. It is available as a supplement and is generally considered safe, although some contaminated supplements have caused dangerous side effects.