Electromagnets are used in

all of above

Electric bells

Dynamos

Telephones