Alkaloid Alkaloids are naturally occurring chemical compounds containing basic nitrogen atoms. The name derives from the word alkaline and was used to describe any nitrogen-containing base. Alkaloids are produced by a large variety of organisms, including bacteria, fungi, plants, and animals and are part of the group of natural products (also called secondary metabolites).