More like a computer needing to be reset. If it hangs (stops or fibrillates) it is useless, but when you reboot it (shock it - cardioversion) it seems to work fine. And yes it is wise to find out why it hung up (bad motherboard, surge, etc. or coronary disease v. malfunctioning conduction system needing a pacemaker, etc.) so it doesn't happen again.
The big difference is that the computer can sit forever before you reboot it. With your heart, if it isn't beating it isn't supplying blood to itself and the tissue dies (infarction) in a few minutes, hence the importance of early CPR. You can't shock dead heart muscle back to life.
Don't mean to be oversimplifying, but it's a good question and not too bad an analogy.
San Francisco Area
ESR'd March 2010. FIRE'd January 2011.
As if you didn't know..If the above message contains medical content, it's NOT intended as advice, and may not be accurate, applicable or sufficient. Don't rely on it for any purpose. Consult your own doctor for all medical advice.