A viral or bacterial infection may result in a chest infection. The real reason will vary depending on the condition.
For instance, whereas many cases of pneumonia are caused by germs, bronchitis is typically the outcome of a disease.
By inhaling the respiratory droplets produced when someone with an illness coughs or sneezes, you can contract a chest infection. This is because illnesses are spread by inhaling droplets.