They enforce structural rules within the codebase.
Sealed classes improve domain modeling by enforcing rules about which classes can appear in a hierarchy. This makes the code more maintainable and predictable. For example, in a checkout flow, you might have a sealed class `Order` that only permits `OnlineOrder` and `InStoreOrder` to extend it. This restriction ensures that other types of orders cannot be inadvertently added, preserving the integrity of the domain model.