A story goes about 2500 years ago there lived a shepherd named magnes in ancient greece . everyday he tahes his sheep to the nearby mountains for grazing . the stick he carried with him had iron tip on the side. he discovered that the end attracts to the rocks. on further investigation Greeks found that the rocks had the property of attracting iron .