The correct answer is:
b. it is a tiny magnet itself.
A compass needle is essentially a small magnetic compass that is magnetized and responds to magnetic fields. When it is brought near a magnet, the magnetic field of the magnet influences the compass needle, causing it to align itself with the magnetic field lines.