Correct option is D
The correct answer is option (D) Both (i) and (ii)
A magnetic field is a field produced by moving electric charges (currents) or by magnetic materials. It exerts a force on other moving charges or magnetic materials within the field.
Information Booster :-
- It can be used to magnetize a piece of soft iron: When a current-carrying solenoid is placed inside or near a piece of soft iron, the solenoid creates a magnetic field that magnetizes the iron. The soft iron becomes a temporary magnet due to the magnetic field produced by the solenoid.
- It acts like a bar magnet: A current-carrying solenoid creates a magnetic field that has a definite north and south pole, just like a bar magnet. The ends of the solenoid behave as the poles, and the magnetic field inside the solenoid is uniform, similar to the field inside a bar magnet.