A vector field is an assignment of a vector to each point in some region of space. A simple example of a vector field is the wind velocity (a vector) at each point on the Earth's surface. Vector fields are extremely important in science and engineering—some examples are the electric and magnetic fields of electrodynamics, and the gravitational field of Newtonian gravity.
In addition to the usual operations of vectors (addition, scalar multiplication, dot product, and cross product), vector fields have some differentiation operations that compare the values of the field at different points. The common operations are the divergence and the curl.
More formal treatment
A vector field is a function that maps the region of space into the vector space.
If S is a subset of the , then a vector field can be seen as the function , which maps an n-dimensional positional vector to each point :