A wet cough is a sign of bacterial or viral infection. In most cases no treatment is required. Treatment can be done with medications and lifestyle changes. Cough is a symptom of many conditions and diseases. This is the body's way of responding to a stimulus in the respiratory system.
When irritants such as allergens, dust, pollution or smoke enter your airways, special sensors send a message to the brain, and the brain becomes alert to their presence.
The brain then sends a message through the spinal cord to the chest and abdominal muscles. When these muscles contract rapidly, they push a stream of air out of the respiratory system. This puff of air, or cough, helps expel harmful irritants.
Coughing is an important response that can help expel harmful irritants that can make you sick or make it difficult to breathe. When you're sick, coughing also expels mucus (phlegm) and other secretions from your body, helping to clear the airways, help you breathe easier, and heal faster.
A wet cough is a cough that produces mucus. It may feel as if something is stuck in your chest or the back of your throat. Sometimes, due to wet cough, phlegm also comes into the mouth. A wet cough indicates that our body is producing more mucus than normal. Wet cough often occurs at night because when we lie down, mucus accumulates at the back of the throat, causing the cough to start again.
Read more - (Home remedies for whooping cough)