An electrogastrogram (EGG) is a non-invasive diagnostic test used to record the electrical activity of the stomach. It is similar to an electrocardiogram (ECG) but focuses on the gastric muscles rather than the heart. In Pediatrics, EGG can be particularly useful in diagnosing gastrointestinal motility disorders, which are common in children but often difficult to diagnose accurately.