A scalar field is a smoothly varying mathematical function that assigns a value to every point in space. An example of a scalar field in classical physics is the gravitational field that describes the gravitational potential of a massive object. In meteorology, the temperature and pressure distributions are scalar fields. In quantum field theory, scalar fields are associated with spin-zero particles. All of the force-carrying particles as well as the Higgs boson are generated by scalar fields.