Lung cancer is a type of cancer that starts when abnormal cells grow in an uncontrolled way in the lungs. It is a serious health issue that can cause severe harm and death. Cancer that is caught at an early stage can be treated and could potentially saves lives. However, only a small percentage of lung cancer are found at an early stage, reducing the survival rate of the patient. In this research, deep-learning and machine learning method is used to accurately identify the type of nodules within the lungs by using CT images as input. CT-scan is one of the methods used to identify lung cancer, but radiologist struggle to identify the cancerous tumor residing in the lungs. With the help of technology and Artificial Intelligence, radiologist can use these tools to assist them in identifying the type of tumor and could further decreased the mortality rate of lung cancer. Through this research a dataset collected from the Iraqi hospitals was used on the hybrid convolutional neural network and random forest model (CNN-RF) to classify the type of nodule: benign, normal or malignant. The proposed model gives an accuracy of 94% on the testing set. The other performance metrices comes with values such as 93% on recall average and 95% on precision average.