The empirical formula is \( \text{CH}_2\text{O} \), which has a molar mass of:
\[
\text{Molar mass of } \text{CH}_2\text{O} = 12 + 2(1) + 16 = 30 \, \text{g/mol}
\]
Now, compare the molar mass of the compound (90 g/mol) to the molar mass of the empirical formula (30 g/mol):
\[
\frac{\text{Molar mass of compound}}{\text{Molar mass of empirical formula}} = \frac{90}{30} = 3
\]
This means the molecular formula is 3 times the empirical formula. Therefore, the molecular formula is:
\[
\text{Molecular formula} = 3 \times \text{CH}_2\text{O} = \text{C}_3\text{H}_6\text{O}_3
\]
Thus, the molecular formula of the compound is \( \text{C}_3\text{H}_6\text{O}_3 \).