What causes coughing?

Coughing isn’t a disease- it’s a sign of an underlying disease. How do we go about working out the problem is? (apologies to non England rugby fans…)