Correct option is C
A coil carrying current generates a magnetic field around it and behaves like a magnet.
This phenomenon is explained by Ampère's circuital law, where the current in the coil creates a magnetic field similar to that of a bar magnet, with distinct north and south poles.