ICDs are utilized in pediatric patients to prevent sudden cardiac arrest caused by severe arrhythmias. Children with conditions like congenital heart disease, hypertrophic cardiomyopathy, and long QT syndrome may be candidates for ICDs to manage their heart rhythm abnormalities.