Swimming, as an overall great exercise for one's health, helps with quitting smoking by improving heart function, lung function, and condition of muscles.