Question: how electricity is produced by friction?
Answer: Friction produces static electricity by initiating the transfer of electrons between two or more objects. With regards to electron transfers, objects are either conductors or insulators. Conductors give up electrons readily because the electrons are not confined to a particular atom.