Class inheritance is a fundamental concept in object-oriented programming where a new class (known as a subclass or derived class) is created based on an existing class (known as a superclass or base class). The subclass inherits attributes and behaviors (methods) from the superclass, allowing for code reuse and the creation of more complex systems efficiently.