Your heart can keep beating even if it is separated from the body because it has its own electrical impulse.