To organize related exceptions and improve error handling.
A hierarchy groups exceptions logically, making error handling more efficient. In e-commerce, `OrderException` could have `InvalidOrderException` and `OrderNotFoundException` as children, allowing specific handling for each error type.