The matter can be as simple as a small ulceration somewhere in the space from throat to the lungs . As others said it can indicate Tuberculosis also. It can be said clearly only after a qualified and experienced doctor examines you. Hence do not take chances and make things complicated by your own wild imaginations.
This scribe can say from experience that sometimes certain symptoms can be deceptive and our own qualified and exaggerated explanation can mislead also. During my early youth, I was 'diagnosed' for Tuberculosis evn after conducting a 'skin' test also and given treatment without much explanation to me. But as I had my own doubts, I took a second opinion when things were going worse, and it ultimately came out that I was having just a viral fever and related issues.
The 'Tuberculosis diagnosis' was then done after clinical symptoms, ESR test, skin test and even Xray. My goodness so much for the expertise and accuracy'
Hence I suggest that please meet a qualified and experienced doctor immediately and take the necessary treatment if needed. Please do not try to conclude by your imagination, but apprise the doctor correctly your problems.