The function of a defibrillator is to:

Explanation:

Restore heart rhythm by electric shock.