Despite being 4x weak to Ground, Magnezone is a great Pokémon to have on your team. It's 115 base Defense + Substitute + Iron Defense + Body Press will kill all but Ghost-types. Don't sleep on the monstrous 130 base SpA either, as well as access to Magnet Pull/Rise. Most sets run Choice Specs, for extra power.
Magnezone can trap Pokémon such as Skarmory and dispose of them with STAB Electric-type attacks. Magnezone also resists common threats like Banded Grassy Glide Rillaboom, and is the ultimate Primarina killer. It's STAB attacks are supereffective against many of the Pokémon in the OU tier.
A lot of Pokémon have glaring, common weaknesses, but are still able to excel. Like Ferrothorn, for instance. It's 4x weak to Fire, but it's been a valuable staller and a great addition to your team since it was introduced in Gen 5. (I'm not kidding, it's been in every Gen's OU tier SINCE GEN 5) Fire-type moves are very common coverage moves as well.