This paper presents a deep learning approach using convolutional neural networks (CNN) for early detection and classification of lung cancer from computed tomography (CT) images. The study compares two methodologies: support vector machine (SVM) and CNN, with the latter achieving a remarkable classification accuracy of 100% on a test set of lung images after specific training protocols. The research emphasizes the significance of early detection in improving recovery chances for lung cancer patients, highlighting the potential of deep learning in medical diagnostics.