What is the difference between ECG and EEG?

An ECG is a visual recording of the electrical impulses that move through your heart, used to identify heart conditions. In contrast, an EEG measures the electrical impulses through your brain to detect possible conditions affecting the brain.