A class is a blueprint or template that defines the characteristics of an object. It describes the attributes and behaviors that objects of the same type have in common. A class serves as the basis for creating individual objects with the same attributes and behaviors.