An electromagnet is an example of a temporary magnet. It uses electricity to turn its magnetism on and off.

16