This document presents a convolutional neural network model to detect pneumonia from chest x-ray images. The model is trained from scratch on a dataset of over 5,800 chest x-ray images categorized into pneumonia and normal images. The model uses preprocessing like resizing and normalization, data augmentation, and a custom sequential CNN model with convolutional and pooling layers to extract features and classify images. Evaluation metrics like precision, recall, accuracy and F1 score are used to analyze the trained model's performance at detecting pneumonia from chest x-rays. The proposed system aims to help diagnose pneumonia early and assist medical professionals, especially in remote areas.