A process to purify biogases (i.e., landfill gas and municipal digester gas), to enable such biogases to be utilized to generate electricity and heat. Biogases from these sources generally include small amounts of organosilicons (which are particularly harmful to power generation equipment, and especially harmful to micro-turbines, reciprocating internal combustion engines, and large turbines), and halogenated chemical species (which can foul expensive emission catalysts). A fluidized media bed reactor is configured to concentrate offending organics, and is coupled with another reactor vessel configured to strip the offending organics off saturated media with a hot inert gas. The removed organics are further concentrated into an inert gas stream that is conveyed to a small flare for greater than 99% destruction. The energy required to strip the organics from the spent media, and to energize the flare, is generated by the combustion of a small quantity of the purified biogas.