Cholesterol belongs to the class of lipids known as steroids, characterized by a specific four-ring structure.