Step 1: Understand the reaction.
When benzaldehyde and formaldehyde are heated with aqueous NaOH, they undergo the benzoin condensation, forming sodium benzoate and sodium formate.
Step 2: Conclusion.
Thus, the products are sodium benzoate and sodium formate.
Final Answer:
\[
\boxed{\text{sodium benzoate and sodium formate}}
\]