Biological treatment of gas pollutants in partitioning bioreactors