I think these days they mostly use potassium chloride (KCl) to stop the heart, but they give a barbiturate first so there is no discomfort though how they know there's no discomfort escapes me