A class is a blueprint for creating objects that bundle together data (fields and properties) and behavior (methods).