The one that does that is the photoelectric effect. This allows the sun to hit the surface and produces enough energy for electrons to be knocked off the atom and allows a current to move.
Gas because liquids and solids volumes don't change from switching containers.