After a child gets infected, his or her immune system fights the tuberculosis bacteria. The infection becomes latent, or controlled. When the bacteria spread out of control, the infection becomes active.