check out wikipedia - smoking is the leading cause.
National Institute of Health states on a web page that it's typically caused by being exposed long-term to lung damaging irritants- most commonly from cigarettes. Second-hand smoke, fumes from chemicals & dust, etc. can also be factors when inhaled. There are rare cases when a certain genetic problem can lead to it.