The invention relates to a device and a method for desulfurization and denitration of 
flue gas from a boiler. The device comprises an electrostatic dust remover, a direct cooler, a reactor, a 
light wave generator and a collector. The method comprises the following steps: allowing the 
flue gas from the boiler to enter the electrostatic dust remover, carrying out dust-removing treatment, then allowing dust-removed 
flue gas to enter the direct cooler, carrying out cooling to a set temperature in the direct cooler, then allowing obtained 
flue gas to enter the reactor, carrying out a reaction on the surface of an adsorption sensitizer 
reaction layer arranged in the reactor under 
irradiation of light 
waves generated by the 
light wave generator so as to generate a 
reaction product, and collectingthe 
reaction product into the collector. According to the invention, the electrostatic dust remover can remove a majority of 
solid particles in the 
flue gas from the boiler; the direct cooler can increase the reaction rates of SO2 and 
NOx in the 
flue gas in the reactor; the 
light wave generator has high degree of energy concentration; thus, after the flue gas passes through the reactor, few temperatures of the flue gas is increased, and the 
utilization rate of energy is improved; a final 
reaction product can also be used as an industrial 
raw material; in general, the device provided by the invention has low operation cost and can operate in a dry or semi-dry manner, so corrosivity is reduced, and the maintenance cost of the device is decreased.