A closed container is filled with 2 moles of hydrogen gas and 2 moles of oxygen gas. The gases react to form water.

Write a balanced equation for this reaction.