What Is an Executor of a Will?

What Does An Executor Need To Do When Someone Dies?