Whenever you have a cough or breathing symptoms, a problem with your heart function and circulation needs to be considered. Congestive heart failure occurs when your heart can't pump your blood forward effectively. It is typical for your lungs or your legs to become congested with fluid when your heart is not pumping efficiently.
Do you have any history of heart failure, or do you have new or worsened swelling in your legs?