There are many ways of knocking electrons out of atoms. The simplest is to rub two surfaces together.