Capital punishment is illegal in many countries due to ethical and human rights concerns, as well as the possibility of wrongful convictions and the lack of deterrence it provides.