This document provides an introduction to electrocardiography (ECG) and the electrical properties of the human heart. It discusses the structure and function of the heart chambers and valves. It describes how electrical impulses are generated in the sinoatrial node and propagated through the heart muscle to coordinate contractions. Recording these electrical signals noninvasively with electrodes on the skin is the basis of ECG. Key events in the cardiac cycle such as depolarization and repolarization are also summarized.