When you need to provide read access to a field without exposing it directly.
Getters are used to provide a controlled way to access the value of a private field. They maintain encapsulation by not exposing the field directly. For example, in a user profile class, a getter for the `username` might be provided to allow other parts of the software to display the username without giving direct access to modify it.