Answer:
Step-by-step explanation:
Ba(OH)2 is acting as a base in this reaction.
In this reaction, H2S is a acid and Ba(OH)2 is a base. When an acid and a base react, they neutralize each other and form water and a salt. In this case, the acid is H2S and the base is Ba(OH)2, so the products of the reaction are water (H2O) and the salt Bas.