How JavaScript resolves properties by walking the prototype chain
dog.breathe(), JavaScript first looks in the dog object itself.
Not found → checks Dog.prototype. Not there → checks Animal.prototype. Found! It's breathe.
This chain walk happens on every property access in JavaScript — even for built-ins.