A mineral is a naturally occurring solid chemical substance formed through biogeochemical processes, having characteristic chemical composition, highly ordered atomic structure, and specific physical properties.
A rock is an aggregate of minerals and/or mineraloids and does not have a specific chemical composition.