When there is a sudden loss of all heart activity due to an irregular heart rhythm, breathing stops, leading to…