When the current in coil A is changed the magnetic field associated with it will also change. As a result, the magnetic field around coil B also changes. These changes in magnetic field lines around coil B induce an electric current. This is called electromagnetic induction.