Here's why:
* Rock: A naturally occurring solid made up of one or more minerals.
* Mineral: A naturally occurring, solid inorganic substance with a definite chemical composition and a specific crystal structure.
A pebble can be made up of various minerals, like quartz, feldspar, or mica. Since it's a collection of minerals, it fits the definition of a rock.