The document defines key terms related to the electrophysiology of the heart such as action potential, membrane potential, refractory period, and threshold potential. It then describes the four phases of the cardiac action potential: Phase 0 involves stimulation and sodium/calcium influx causing depolarization; Phase 1 involves partial repolarization through ion efflux; Phase 2 involves a plateau phase through continued ion fluxes; Phase 3 involves full repolarization through ion efflux slower than depolarization. Phase 4 is the interval between repolarizations. The cardiac action potential triggers mechanical contraction. An electrocardiogram detects and records the summed action potentials to analyze patterns like the P, QRS, and T waves related to atrial depolarization, ventricular depolarization