A process for selective removal of a product from a gaseous system