Magnets have the property of attracting small pieces of iron, nickel, and cobalt due to magnetism. The earliest known magnet was a piece of the mineral magnetite, also called lodestone. Magnets have north and south poles, with opposite poles attracting and like poles repelling one another. Artificial magnets can be created by making pieces of iron acquire magnetic properties, and magnets exert influence within their magnetic field.