An access modifier allows us to set the visibility of a class member outside of the class.

Sweet right? We've kept the age property away from prying hands! We can still set and get it, but we cannot directly mess with it!

The code newDog.age will result in an error as the age property is inaccessible outside of the class!