What happens when you shock a patient with asystole? What is happening to the heart?

Asystole. When a patient has asystole, the heart is not contracting and has no significant electrical activity. When you deliver a shock, it may stimulate return of electrical activity and hopefully mechanical activity or it may not. What is happening is the heart is dying and the shock is an attempt to reverse that process.