I've read about photo voltaic cells which converts the solar energy into electrical power. I find out that when they receive photons (light), the electrons of a photo voltaic cell are able to move freely and produce electrical current. I know that any material consists of electrons, protons, and neutrons. So I imagine that .. when electrons leave a photo voltaic cell, It should have less mass and it should start to erode or to be ionized and converted into another material. Am I right ? If no, how photo voltaic cell recover the loss of electrons ? I don't think photons of sun light replace the electrons !! because they just motivate electrons to move freely by giving them some energy. I also, thought the same Idea about piezoelectric material. when we give it a mechanical energy , it produces electrical current. does that mean it will erode ?