Question: what is the difference between the scalar and vector fields?
Answer: A scalar field is simply a single function of, say n variables. ... We can measure the temperature T at each point (x,y,z) and thus form a function T(x,y,z). A vector is a set of functions of n variables. The electric field is an example of a vector field.