Since medicinal plants are frequently used to treat numerous infectious disorders in people, Solanum nigrum's effectiveness against pathogens isolated from sputum samples was examined. The objective of the study was to identify and characterise the bacteria isolated from patients who had respiratory tract infections. Solanum nigrum extracts in aqueous, ethanol, and diethyl ether were made.