Gauss' law relates the electric field lines that exit a closed surface to the total charge contained within the volume bounded by the surface. Gauss' law is a macroscopic version of the Maxwell equation :