A line integral is an old name for a path integral. It measures the cumulative behavior of some quantity along the path, (which is usually a curve rather than a line).
E.g. suppose you are swimming in the ocean and the tide starts to carry you out. The best thing to do is not swim back to shore but to swim parallel to the shore. Why? Because you are not fighting the current that way, and when you get far enough downshore maybe the current there will be weaker and you can swim into shore.
The work you do fighting the current is measured by a path integral. I.e. you take the velocity vector of the current and compare it to the velocity vector of your path of swimming. the more parallel they are the more work you do. So in this case you dot those two vectors together and get a number for each point of your path and integrate these numbers to get the total work done.
Obviously by swimming perpendicular to the current, i.e. parallel to the shore, you minimize the work done by you in bucking the current. So if the x component of the current's velocity is A, and the y component is B, you get an integral like "integral of Adx + Bdy". Then when you plug in some function (x(t),y(t)) for your path of motion, the integral becomes the integral of A(x,y)dx/dt +B(x,y)dy/dt. This is the same as the dot product of your velocity vector (dx/dt,dy/dt) and the velocity vector (A,B) of the water.
I may misunderstand the physics here and maybe I should have a force vector for the water (in terms of acceleration of the water instead of velocity) to call this "work", but I hope the idea of the path integral is clear enough, even if the terminology is ill conceived.
Anybody else? please correct me.