The two poles of a magnet repel when their like poles face each other and attract each other when unlike poles are brought near. These two poles of a magnet are called inseparable poles.