By having getters for this information, other code that needs access to the same information can call the getters instead of duplicating the information.