Sulfur is a group six element in period 3 with atomic number 16 and an electronic configuration of 2:8:6. Therefore, to attain a stable configuration it requires to gain two electrons forming an ion with a charge of -2. The negative charge is due to the gaining of electrons.