Building Blocks of an ECG System In Electrocardiography (ECG) recorder five leads from the patient are connected to the ECG…