Although smoking is now banned on commercial airlines, most planes still have ashtrays. That’s because the FAA requires them just in case someone does light up so they can properly put it out.

Fact source