rock vary in color size texture and shape they are classified based on how they were formed which of the following deals with the study of rocks​