Corticosteroids are used in neonatal care primarily to accelerate fetal lung maturity and reduce the risk of neonatal respiratory distress syndrome (RDS). They are administered to pregnant women at risk of preterm delivery, generally between 24 to 34 weeks of gestation.