What are the different user roles in WordPress and their permissions?

WordPress has several predefined user roles, each with its own set of permissions. Here are the common roles and their capabilities: Administrator – Has full control over the site, including access to all settings, plugins, themes, and content. Editor – Can publish, edit, and delete any post or page, as well as moderate comments. Author – Can publish and manage their own posts, but cannot modify posts or pages created by others. Contributor – Can write and manage their own posts, but cannot publish them. Posts require approval from an Editor or Administrator. Subscriber – Can only manage their profile and view the site content.