When electricity flows in a wire, a magnetic field appears. This discovery led to the development of electric motors. They can be found in many electronics today.
Third grade scientists made a simple electromagnet which is a temporary magnet that is made by coiling wire around an iron core. When current flows in the coil, the iron becomes a magnet.