Sedatives are used in neonates for several reasons, including managing pain, anxiety, and agitation, particularly in intensive care settings. They are also used to facilitate various medical procedures, such as mechanical ventilation and diagnostic tests, ensuring the well-being and comfort of the infant.