Why is it that a line integral of a vector field takes the dot product of the vector field with the tangent? This results in us taking the component of the vector field in the direction of the tangent of the curve we are integrating over. This can give us work done as a physical interpretation.
If this curve encloses an area, we can also use Green's theorem over that area instead of the line integral to get the same result. Green's theorem measures flux ALONG the boundary.
Now the analogue to that in a higher dimension is the surface integral of a vector field. However here the definition of the surface integral is taking the dot product of the vector field with the normal (more specifically the cross product of the first partial derivatives), with its interpretation as flux across the surface. Here, we can use the divergence theorem also if the surface encloses a volume. Divergence theorem measures the flux ACROSS the boundary. Why is there a difference?
So why is a surface integral measuring something across the boundary and the line integral something along?
EDIT: We notice the curl is actually a vector field itself.
Looking through some notes, if we take a vector field in two dimensions, we have components $$f = (P,Q,0)$$
Hence, curl is equal to $$curl f.k$$ which is just $$\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}$$ and an integral with this as its integrand is exactly Green's theorem.
The curl in this case is integrated over a flat surface on the xy plane and the normal to the curl is just the k component (standard basis of the z axis). By applying the definition of surface integrals on Stoke's theorem, we get Green's theorem. This shows that Green's theorem is just a special case of Stoke's theorem.
So the exact definition of the surface integral can be used to result in Green's theorem, and Green's theorem can be obtained directly by considering circulation over an area which links to our line integral, so there is definitely a link here that I can't seem to grasp.
EDIT 2: I would like to add the fact that I mention in my comments. The line integral and surface integral over scalar valued functions makes sense. One could say that the line integral uses a tangential component (the norm of our the derivative of our parametrisation), while the surface integral a normal (the norm of the cross product of the first partial derivatives), but this is only because of its geometrical interpretation. The tangent used in line integral approximates the line, while the norm of the cross product used in surface integrals approximate the surface using the area of a parallelogram - which is exactly the norm of the cross product between arbitrary vectors.
So why is the link in vector valued functions less obvious? What am I missing in my thinking?