Chemical graph theory is the mathematical modeling of molecules. It is a branch of graph theory that studies all of the efects of connection in a chemical network. Pneumonia is an infection of one or both of the lungs caused by bacteria, viruses, or fungi. Antibiotic drugs such as Azithromycin, Amoxicillin, Ciprofloxacin, Erythromycin, Clarithromycin, Clindamycin, Levofloxacin, Sulfamethoxazole, Metronidazole, Moxifloxacin, Tetracycline, Cefotaxime are used to treat pneumonia. In this paper, various degree based topological indices of these drugs are calculated and different types of regression models predicting the physicochemical properties of these drugs in terms of proposed indices are obtained and analyzed. Furthermore, we calculate the M-polynomial of these drugs.