text: Substituted tryptamines, or serotonin analogues, are organic compounds which may be thought of as being derived from tryptamine itself. The molecular structures of all tryptamines contain an indole ring, joined to an amino (NH) group via an ethyl (−CH2–CH2−) sidechain. In substituted tryptamines, the indole ring, sidechain, and/or amino group are modified by substituting another group for one of the hydrogen (H) atoms.
  Well-known tryptamines include serotonin, an important neurotransmitter, and melatonin, a hormone involved in regulating the sleep-wake cycle. Tryptamine alkaloids are found in fungi, plants and animals; and sometimes used by humans for the neurological or psychotropic effects of the substance. Prominent examples of tryptamine alkaloids include psilocybin (from "psilocybin mushrooms") and DMT. In South America, dimethyltryptamine is obtained from numerous plant sources, like chacruna, and it is often used in ayahuasca brews. Many synthetic tryptamines have also been made, including the migraine drug sumatriptan, and psychedelic drugs. A 2022 study has found the variety of tryptamines present in wild mushrooms may affect the therapeutic impact.
  The tryptamine structure, in particular its indole ring, may be part of the structure of some more complex compounds, for example: LSD, ibogaine, mitragynine and yohimbine. A thorough investigation of dozens of tryptamine compounds was published by Ann and Alexander Shulgin under the title TiHKAL.