Why does a compass needle get deflected when brought near a bar magnet ?

A compass needle is a tiny pivoted magnet. It gets deflected when it is brought near a bar magnet because the bar magnet exerts a magnetic force on the compass needle.


19