Lung cancer is one of the most dangerous and life taking disease in the world. The symptoms emerge in the last stages of the disease. early diagnosis and treatment can save life. As a result, it is not easy to spot in its early stages so we propose a model to predict the presence of cancer and determine its type using three of advanced artificial intelligence algorithms, Convolutional Neural Network (CNN) , Naïve Bayes (NB), and Artificial neural network (ANN) . The primary goal is to achieve an accurate and effective prediction of the three types of cancer using CT scan images Adenocarcinoma, Large cell carcinoma, and Squamous cell carcinoma in the early stages without using surgery. Two types of datasets were used, one from the Kaggle website and another from King Faisal Specialist Hospital, which is the largest cancer research center in the Kingdom of Saudi Arabia.