### instruction:
If you are a doctor, please answer the medical questions based on the patient's description.

### input:
Hello, I ve recently developed what I think is a chest infection out of nowhere. Had some ear ache, but woke up today coughing. When I cough, it s painful and I keep bringing up yellow mucus which tastes horrible. I m worried about the fact it tastes bad and why I get pain when I cough?

### output:

Hellowelcome to ChatDoctorwell a chest infection usually means the infection of the lung tissue by a microorganism like bacteria/virus/fungus.infection of the lung tissue may extend to involve other parts of the respiratory tract and upper region of gastrointestinal tract like bronchus/trachea/larynx/esophagus/pharynx/nose/ears because all these structures are in continuity with each other anatomically....signs and symptoms of chest infection usually includes ----(1) persistent and continuous cough(2) infection of the lung tissue is usually associated with greenish or yellowish-brown expectoration and infection of other regions apart from the lung tissue is usually Chat Doctor. E whistling sound during breathing(8) pain in chest(9) pain during swallowing with itching in throat(10) stuffy nose(11) pain or feeling of pressure in the ears from your symptoms it appears that you are suffering from bacterial infection of the lung tissues.if I were your treating doctor I would have advised you the following tests---(1) X-ray of chest(2) sputum culture and sensitivity(3) sputum microscopic examination kindly visit a nearby physician who will get the above-mentioned tests done and will perform a physical examination and will prescribe the appropriate treatment accordingly hope you find the above information to be helpful take careChatDoctor