Artificial intelligence is the most powerful and promising tool for the present analytic technologies. It can provide real-time insights into disease spread and predict new pandemic epicenters by processing massive amount of data. The main aim of the paper is to detect and classify multiple infectious diseases using deep learning models. The work is conducted by using 29,252 images of COVID-19, Middle East Respiratory Syndrome Coronavirus, Pneumonia, normal, Severe Acute Respiratory Syndrome, tuberculosis, viral pneumonia, and lung opacity which has been collected from various disease datasets. These datasets are used to train the deep learning models such as EfficientNetB0, EfficientNetB1, EfficientNetB2, EfficientNetB3, NASNetLarge, DenseNet169, ResNet152V2, and InceptionResNetV2. The images have been initially graphically represented using exploratory data analysis to study the pixel intensity and find anomalies by extracting the color channels in an RGB histogram. Later, the dataset has been pre-processed to remove noisy signals using image augmentation and contrast enhancement techniques. Further, feature extraction techniques such as morphological values of contour features and Otsu thresholding have been applied to extract the feature. The models have been evaluated on the basis of various parameters, and it has been discovered that during the testing phase, the InceptionResNetV2 model generated the highest accuracy of 88%, best loss value of 0.399, and root mean square error of 0.63.