Fentanyl is often used in neonatal intensive care units (NICUs) for pain relief and sedation, especially in critically ill neonates. It is particularly useful for procedures such as intubation, surgery, and management of severe pain. It is preferred in some cases due to its rapid onset of action and short duration, which allows for easier titration and control.