Gauss's law is one of Maxwell's equations to calculate the electric field from enclosed charges. There is no proof for Gauss's law and it was confirmed with scientific experimentation.