Rhythmic compression of the heart by pressure applied manually over the sternum (closed heart massage) or directly to the heart through an opening in the chest…