In WordPress, a user role defines what a logged-in user can do on your WordPress website. Some users may have full control over your site, while others may only be able to do certain tasks, like creating posts, editing content, or moderating comments.
To see the default WordPress user roles, you can go to the Users page in the WordPress dashboard. There are 5 default user roles: Administrator, Editor, Author, Contributor, and Subscriber.
You can think of WordPress user roles like the levels of access people have at a school:
The principal and maintenance worker can go anywhere in the school they need to.
Teachers will have access to their own classrooms, but not other classrooms or the principal’s office.
Visiting parents may not be allowed to go beyond the lobby.