2, 4-dihydroxybenzaldehyde reacts for ethyl acetoacetate yielded 3-acetyl-7-hydroxy-2H-chromen-2-one (1), which was then cyclized with ethyl acetoacetate in the presence of ammonium acetate to give compound 3-acetyl-4-(4-(dimethylamino) phenyl) -6-(7-hydroxy-2-oxo-2H-chromen-3-yl)pyridin-2(1H)-one (2). Melting point, TLC, FT-IR spectroscopy, and 1H-NMR were used to characterize the newly synthesized compound. Pyridine (2) is a synthetic compound. Staphylococcus aureus, Staphylococcus epidermidis, Escherichia coli, Klebsiella sp., and Candida albicans were chosen for their antibacterial and antifungal properties. Compounds 2 demonstrated strong antibacterial activity when compared to the regular drug Ampicillin using the diffusion process. Compound 2 showed high antifungal efficacy as compared to the standard medication fluconazole. The results demonstrated that the tested compounds 1 and 2 have substantially stronger antioxidant activity than the well-known antioxidant ascorbic acid. They had a high ability for scavenging DPPH and hydroxyl radicals. Quantum chemical parameters for the highest occupied molecular orbital energy (EHOMO) and the lowest unoccupied molecular orbital energy (ELUMO) were determined and presented.