A subclass is a separate class that inherits properties and behaviors from a superclass through inheritance. The subclass extends the superclass, gaining its features while adding its own specialized behavior. It is not nested within, nor does the superclass inherit from the subclass.