Answer: Inheritance is a mechanism in Python that allows a new class to be based on an existing class, inheriting all its attributes and methods.