N,N-Dimethyltryptamine (DMT or N,N-DMT) is a psychedelic compound of the tryptamine family. It is a structural analog of serotonin and melatonin and a functional analog of other psychedelic tryptamines such as 4-AcO-DMT, 5-MeO-DMT, 5-OH-DMT, psilocybin (4-PO-DMT), and psilocin (4-OH-DMT). It is consumed by indigenous Amazonian Amerindian cultures through the consumption of ayahuasca for divinatory and healing purposes.