The main difference between these terms involves when the responsibilities take effect. Powers of attorney are granted during your lifetime and typically don't play any role after your death. However, they may come into effect if you're unable to make decisions on your own (due to a decline in health or an extended stay out of the country).
On the other hand, the role of the executor begins only after your death and involves managing and distributing your estate.