Using ethanol as a solvent, heterocyclic hexagonal rings for 2-amino-pyran derivatives (I33-I40) were produced by reacting a mole of chalcones derivatives with a mole of malononitrile. Physical properties such as melting point, colour, and molecular weight and spectroscopic measurements such as the infrared spectrum, [1H-NMR], [13C-NMR] spectrum were used to confirm the accuracy of the prepared compounds' compositions. The biological activity of various produced compounds was investigated in two species of pathogenic bacteria, one of which is Gram-positive, Staphylococcus aureus, and the other, Gram-negative, Escherichia coli. Chemical solutions for the two substances (I25, I32) with concentrations (0,01, 0.001, 0.0001) mg /ml were created using a solvent DMSO and Multer Hinton Agar growth medium. The antibiotic Ciprofloxacin was utilized as a control sample for the diffusion sensitivity test of the bacterial isolates used in the investigation. Using DPPH root and varied concentrations, the impact of chemical (I32) on the elimination of free radicals was also investigated. Breast cancer cells were taken from Baghdad's Medical City and used to test the efficiency of several produced chemicals against them.