Neonates can acquire fungal infections through various routes:
Vertical transmission from the mother during birth. Horizontal transmission from the hospital environment or healthcare workers. Use of invasive devices such as catheters and ventilators. Prolonged use of broad-spectrum antibiotics that disrupt normal flora.