Organic compounds composed exclusively of carbon and hydrogen forming a closed ring that may be either alicyclic or aromatic.