Which device converts electrical energy into mechanical energy

Loudspeaker

Steam engine

Generator

Electrical motor