Heterocyclic compounds are organic compounds that contain at least one atom other than carbon in the ring.