Neonatal echocardiography involves using sound waves to create detailed images of a newborn's heart.