Chest infections can be, surpisingly, also caused by yeast, and yeast loves sugar and moisture, just like inside your lungs!
Thrush is, of course a yeast infection.
Now I am not sure about piles though, they are varicous veins up your bum, surgery is a good if painful cure, and I emphasise...