In WordPress the term Editor may refer to a pre-defined user role in the WordPress user management system. Users with the editor role have the capability to write, edit, publish, and delete posts. This includes posts written by other users. They can also moderate, approve, and delete comments. Their privileges extend beyond just adding and removing content. They can also manage categories, tags, custom taxonomies, and even upload files. A user with Editor privileges also has the ability to read private posts and pages.
Only the Administrator user role has more privileges than the Editor user role in terms of capabilities. Limitations of this role are that it can not access WordPress settings, themes, and plugins areas. In others words, they can manage content and even delete it, but they cannot perform site management tasks.
Since editors can delete posts, even those already published, it is highly recommended that you only assign this role to a user you trust. Also keep in mind that you can add or remove capabilities to user roles in WordPress. So, if you are not sure about giving a user this much control on your site you can tweak the user role to meet your needs.