The document discusses the biosynthesis of indole alkaloids. Many indole alkaloids are derived from tryptophan, which originates from the shikimic acid pathway. Some indole alkaloids also incorporate geraniol, a terpene precursor. Serotonin and psilocybin are examples of indole alkaloids directly derived from tryptophan. Beta-carboline alkaloids are formed from tryptophan and an aldehyde or ketoacid. Terpenoid indole alkaloids incorporate both tryptophan and geraniol, with geraniol transforming into loganin and secologanin intermediates that can rearrange to form different skeletal structures.