We know that a soft iron bar placed inside a solenoid turns into an electromagnet when current passes through the solenoid. Now my question is how is electricity produced? Is the iron core moved by the turbine inside a solenoid? Because I know that a moving magnetic field creates electric field. Please help me on this.