Web Analytics

Scientists classify rocks into three different types. What is the main basis for the classification system they chose?