A scientist is conducting an experiment to understand the reaction between hydrogen gas (H2) and oxygen gas (O2). The balanced chemical equation for this reaction is:
2 H2 + O2 → 2 H2O
If the scientist starts with 4 moles of hydrogen gas, how many moles of water will be produced if there is an excess of oxygen?