A constructor is a special method that runs automatically when you create a new object with the new keyword. Its job is to initialize the object — setting up default values, validating input, or performing setup logic. The constructor has the same name as the class and no return type.