Electrostatics is a branch of physics that studies electric charges at rest. It was discovered in 600 BC by Thales that certain materials like amber could attract dust when rubbed. In the 16th century, William Gilbert discovered that other materials like glass and ebonite showed the same phenomenon. Benjamin Franklin later experimentally studied the electrification of objects. Coulomb's law quantifies the electrostatic force of attraction or repulsion between electric charges. Electric field is produced by electric charges and exerts force on other charges. Gauss' law relates the electric flux through a closed surface to the net electric charge within the surface.