a rock is a mineral