What rock is magnesium found in?

igneous and metamorphic rocks