I thought of my smoking as a bad habit but whenever I tried to quit my bad habit, I couldn't do it. I assumed I could still take the occasional social smoke (how I started) but every time I did light up, it re-feuled my nicotine addiction.
It is a physical and mental addiction but breaking free of that addiction is freedom.
There is a lot of info on this site that can help you out but @Doreensfree also brought up Allen Carr. Seek out Allen Carr's book "The Easy Way to Quit Smoking" , either in print or on the internet. I wouldn't say it made quitting "easy" but it really put smoking and quitting in perspective for me. Some didn't like it but it really helped me realize that I gained nothing positive from smoking. It is all negative. Check out that book if you can. I think it will help.