Electromagnetic waves can knock lose the electrons from a metal and close an electric circuit; this is the basis of the photoelectric cell.