Electromagnets are used in

Dynamos

Telephones

all of above

Electric bells