I assume you meant you mean hydrogen sulfide. I dont think any plants or bacteria would consume hydrogen sulfide. It is the end product of sulfur reducing bacteria.
For ammonia, both plants and bacteria can take it up. Most bacteria use it in a sequential way, one species convert ammonia to nitrite and other convert it to nitrate. A small population convert some of the nitrate to nitrogen gas. Higher plants can directly take up ammonia and use it. But they generally require a relatively high ammonia take it up. So bacteria are more effective ways to control the 1st two steps of the nitrogen cycle.