Cobalt is a mineral that's part of the diet. It's mostly removed from the body through urine, with a small amount leaving through stool. While cobalt is necessary, too much can be harmful, especially in certain work environments. Since cobalt isn't mined in the U.S., it's usually brought in from other countries.