In  simple terms, an Executor is responsible for ensuring the terms and wishes of the deceased are adhered to and to manage the process through probate.
This can be quite an involved process depending on the size and nature of your estate.  They are responsible for undertaking certain legal obligations as well as organising your funeral and distributing your assets.