The magnetic effect produced due to electric current is called electromagnetism.
When an electric current flows through a conductor, it creates a magnetic field around the conductor, making it behave like a magnet, this forms the basis of electromagnetism.