The present invention relates to a strain of Bacillus cereus ( Bacillus cereus strain ) BY1, whose preservation number in the China Type Culture Collection Center is CCTCC M 2017321, the resistance of the BY1 strain of the present invention to formaldehyde on a solid medium can reach 10mM, and in a short period of formaldehyde stress, through ribulose The monophosphate pathway assimilated formaldehyde into glucose 6-phosphate and fructose, and the serine pathway assimilated formaldehyde into serine, glycine, malate, glyoxylate, phosphoenolpyruvate and 3-phosphoglycerate during a long period of formaldehyde stress. These metabolites then enter other metabolic pathways to be converted to glutamine, asparagine, glutamic acid, alanine, acetic acid and ethanol. The resistance to acetaldehyde, ethanol, isopropanol, xylene, benzene, and toluene in a solid medium containing 5mM methanol is 20mM, and it grows better in a culture solution containing high concentrations of benzene series, and can be treated with sodium acetate Or sodium malate or sodium citrate is used as the carbon source to remove the added benzene series, and the removal rate reaches 100%.