An ECG monitor works by using electrodes attached to the child's skin. These electrodes detect the electrical signals generated by the heart and transmit them to the monitor, which displays the data as a series of waves. The healthcare provider can then interpret these waves to diagnose any abnormalities.