When we hear about chest pain, the first thing that comes to mind is that it can be due to the heart, but that's not always the case. Sometimes it can be related to a chest infection. An infection that affects the lower part of your respiratory tract, either in the larger airways or the smaller airways.