Gauss Law:-The electric flux ?Ethrough any closed surface is equal to the net charge inside the surface,Qinside, divided by ε0:

Though it’s not obvious, Gauss’s law describes how charges create electric fields. In principle, it can always be used to calculate the electric field of a system of charges or a continuous distribution of charge. In practice, the technique is useful only in a limited number of cases in which there is a high degree of symmetry, such as spheres, cylinders, or planes. With the symmetry of these special shapes, the charges can be surrounded by an imaginary surface, called a Gaussian surface. This imaginary surface is used strictly for mathematical calculation, and need not be an actual, physical surface.