On Munkres's book analysis on manifold chap "the boundary of manifold", question 3, says: let $O(3)$ the set of orthogonal matrices, as a subspace of $\mathbb{R}^9$.
a) define a $C^{\infty}$ map $f: \mathbb{R}^9 \to \mathbb{R}^6$ such that $O(3)$ is the solution set of equation $f(x)=0$.
What does it mean?
Identify $\Bbb R^9$ with the set of $3\times 3$ real matrices and $\Bbb R^6$ with the set of symmetric $3\times 3$ real matrices. Then, $$f(A)=AA^{T}-I.$$