Alkaloids are a class of nitrogen-containing alkaline organic compounds that exist in nature. They have alkali-like properties, so they were also called pseudo-alkalis in the past. Most of them have complex ring structures, with nitrogen mostly contained in the ring . They have significant biological activity and are one of the important active ingredients in Chinese herbal medicines. They are optically active.