This document discusses various types of alkaloids found in fungi. It describes how alkaloids are classified and some of their main functions, such as acting as protective agents against insects and herbivores. Specific examples of alkaloids from fungi are provided, including ergot alkaloids from the claviceps fungi that have medical uses, loline alkaloids from endophytic fungi that are insecticidal, and psilocybin from psilocybin mushrooms that cause hallucinations when ingested. The document also briefly mentions oxaline from Penicillium fungi and paramine from Neotyphodium grass endophytes.