Inheritance:Inheritance is when one class acquires the properties and methods of another class. For example, the Pie and Cake classes can inherit from the Dessert class, gaining all its common characteristics.
Instance: An instance, also known as an object, is a specific occurrence or realization of a class. In this case, an instance of the Dessert class would be an actual dessert created based on the instructions provided by the Dessert class itself.
Method:A method is a set of instructions or behaviors associated with an object or class. The Dessert class could have methods such as "bake" or "decorate" that define what actions can be performed on any instance (object) created using that particular blueprint.