Given a vector field $\mathbf{F}=(A, B, C)$ in Cartesian coordinates, I understand that the line integral along an oriented curve $\mathcal{C}$ is $$ \int_{\mathcal{C}} \mathbf{F} \cdot d \mathbf{r}=\int_{\mathcal{C}} A d x+B d y+C d z $$
But why is the surface integral over an oriented surface the following (according to my physics textbook)? I have done some multivariable calculus before but haven't seen this specific formulation being mentioned elsewhere. Some pointers would be helpful, thanks. $$ \int_{\mathcal{S}} \mathbf{F} \cdot \mathbf{d S}=\int_{\mathcal{S}} \int A d y d z+B d z d x+C d x d y $$