This article reviews the field of image processing in recent years is enormously developed and it has been used in several specialties like medical, stand-alone, satellite and the purpose of this field is to improve image quality and extract information. Pneumonia has become in recent years a defective disease that affects the majorities of the population is especially the elderly and can sometimes put their lives in danger, in order to save human life early pneumonia diagnostic is necessary; in this work we have based on the detection and classification of patients with pneumonia from their chest x-ray. However, there are several areas where image classification is applied with success, in our work we have used deep learning based on the most common convolutional neural networks to make an image classification of pneumonia disease and to obtained good results and gave several advantages.