each end of a magnet is called a

magnetic pole or simply pole.