When a child has bronchiolitis, the bronchioles may fill with mucus and other fluids. When the infection affects the whole lung, it is called pneumonia.