determines the age of a rock by comparing them to other layers