A chest infection is an infection that affects your lungs, either in the larger airways (bronchitis) or in the smaller air sacs (pneumonia). There is a build-up of pus and fluid (mucus), and the airways become swollen, making it difficult for you to breathe.