A magnet — an object that has magnetic force and can attract iron or affect a compass needle.
冷蔵庫に磁石でメモを貼った。
I attached a note to the refrigerator with a magnet.
強い磁石に小さな釘がくっついた。
A small nail stuck to the strong magnet.
実験で棒磁石のN極とS極を確認した。
In the experiment we identified the N and S poles of the bar magnet.
A compass — an instrument indicating direction (historically also called 磁石).
登山にはコンパスの代わりに磁石を携帯する人もいる。
Some hikers carry a magnet as a substitute for a compass.
古い地図には磁石を使って方角を取る方法が書かれている。
Old maps describe methods of taking bearings using a magnet.
磁石の小さなコンパスを買ってポケットに入れておいた。
I bought a small magnet compass and kept it in my pocket.