Proof (rows and columns of orthogonal and unitary matrix are orthonormal)
By definition $$\begin{align*} I &= AA^T \\ \delta_{ij} &= A_{ik}(A^T)_{kj} \\ &= A_{ik} A_{jk} \end{align*}$$ Therefore denoting $A_{i\cdot}$ as row $i$ and $A_{j\cdot}$ as row $j$, we have $$ A_{i\cdot} \cdot A_{j\cdot} = \begin{cases} 1, &i=j, \\ 0, &i\neq j. \end{cases} $$ so the rows are orthonormal.
Similarly considering $I = A^T A$, we have $$ \delta_{ij} = A_{ki} A_{kj}. $$ Therefore the columns are also orthonormal.
For a unitary matrix $U$, $$\begin{align*} I &= UU^\dagger \\ \delta_{ij} &= U_{ik} (\overline{U^T})_{kj} \\ &= U_{ik} \overline{U_{jk}} \\ &= \overline{U_{jk}} U_{ik} \end{align*}$$ So the inner product $\langle U_{j\cdot}|U_{i\cdot}\rangle$, i.e. rows are orthogonal. Similarly for the columns.