Gauss's law is one of the fundamental laws of physics which states that the net flux of an electric field in a closed surface is directly proportional to the enclosed electric charge.
Gauss law for a closed surface states that :
,
is the total charge inside the closed surface. The closed surface on which we apply gauss law is called the gaussian surface.