The balanced chemical equation for photosynthesis is:
\[
6 \, \text{CO}_2 + 6 \, \text{H}_2\text{O} \rightarrow \text{C}_6\text{H}_{12}\text{O}_6 + 6 \, \text{O}_2
\]
This equation shows that 6 moles of carbon dioxide produce 6 moles of oxygen gas.
First, we need to calculate the number of moles of carbon dioxide (\(\text{CO}_2\)) in 8.5 g. The molar mass of \(\text{CO}_2\) is:
\[
\text{Molar mass of CO}_2 = 12.01 \, (\text{C}) + 2 \times 16.00 \, (\text{O}) = 44.01 \, \text{g/mol}
\]
The number of moles of \(\text{CO}_2\) is:
\[
\text{Moles of CO}_2 = \frac{8.5 \, \text{g}}{44.01 \, \text{g/mol}} = 0.1932 \, \text{mol}
\]
According to the balanced equation, 6 moles of \(\text{CO}_2\) produce 6 moles of \(\text{O}_2\). Therefore, the moles of \(\text{O}_2\) produced are equal to the moles of \(\text{CO}_2\):
\[
\text{Moles of O}_2 = 0.1932 \, \text{mol}
\]
The molar mass of \(\text{O}_2\) is:
\[
\text{Molar mass of O}_2 = 2 \times 16.00 \, \text{g/mol} = 32.00 \, \text{g/mol}
\]
The mass of \(\text{O}_2\) produced is:
\[
\text{Mass of O}_2 = 0.1932 \, \text{mol} \times 32.00 \, \text{g/mol} = 6.1824 \, \text{g}
\]
The mass of oxygen gas produced is \(\boxed{6.18 \, \text{g}}\).