Ultrasound is preferred in pediatrics because it is safe and does not involve radiation, which is particularly important for growing children. It is also relatively quick, cost-effective, and can be performed without the need for sedation or anesthesia. Additionally, it provides real-time imaging, which is beneficial for guiding certain procedures.