Invariants maintain consistent and valid object states.
Invariants are conditions that must always be true for an object during its lifetime. They help ensure that objects remain in a valid state. For example, in a Customer class, an invariant might be that the `email` field is never null. By enforcing this condition, you can prevent unexpected errors in your e-commerce system, such as failing to send order confirmations.