Asthma is a condition of chronic inflammation of the lungs. Pneumonia is an infection of the lungs' tissues, most commonly caused by viruses and bacteria.
Asthma does not cause pneumonia, but it can predispose a patient to pneumonia. This happens because asthma weakens the lungs' ability to clear up mucous and other cellular debris, weakening the lung's protective mechanisms against microbes.
It is better to have your daughter undergo lab tests to be sure if she has asthma. And if she does, she needs to reduce her exposure to asthma triggers like air pollution, allergies, cold air, a cold or flu virus, sinusitis, smoke,and fragrances.