Question 1
Why does a compass needle gets deflected when brought near a bar magnet?
The needle of a compass is a small magnet. That’s why when a compass needle is brought near a bar magnet, its magnetic field lines interact with that of the bar magnet. Hence, the compass needle gets deflected.