Physicists have successfully generated controlled electron pulses in the attosecond range. They used optical travelling waves that are formed by laser pulses of varying wavelengths. The movements of electrons in atoms were revealed using attosecond free-electron pulses.