hmm. Do you know what scalar fields and vector fields are?
lets imagine we're on R^2, the plane. imagine it's been split into tiny grid squares.
in the first case, every square is assigned a scalar value (so this is a scalar field) and when we integrate over the path C what happens is we walk along the path and add up the values of all the points we pass through.
the 2nd case is when every square is assigned a vector (so this is a vector field). we walk along the path C and for each square we pass through, we work out the component of the vector that is in the direction we are travelling (hence the F dot T), and add the magnitude of that to our score.
for example, if you want to cross a river, the effort you expend shouldn't depend on how fast the water is flowing downstream, because it's pushing you perpendicular to the direction you're heading (dot product = 0 ).