a) To kill as punishment for capital crimes.
There are certain states where it is lawful to execute prisoners convicted of certain crimes.
b) To carry out; to put into effect; as, to execute a will, to execute orders.
Your orders have been executed, Sir!
Wikipedia foundation.