A classical field is a function of spatial and time coordinates. Examples include the gravitational field in Newtonian gravity g (x, t) and the electric field E (x, t) and magnetic field B (x, t) in classical electromagnetism. A classical field can be thought of as a numerical quantity assigned to every point in space that changes in time. Hence, it has infinitely many degrees of freedom.