Alkaloids are a class of naturally occurring organic compounds that contain nitrogen atoms and exhibit significant biological activity, often found in plants. These compounds usually have basic (alkaline) properties due to the presence of one or more nitrogen atoms in a heterocyclic ring.