It's important to note that the magnetic properties of a material do not depend on whether it is an element, a mixture, or a compound. Elements like iron and nickel are naturally ferromagnetic, while other elements may exhibit magnetic properties when combined in specific ways.
Therefore, magnets themselves are not categorized as elements, mixtures, or compounds. They are objects that exhibit magnetic properties because of the materials used in their construction.