What physical phenomenon is used to determine the age of terrestrial and lunar rocks?

What physical phenomenon is used to determine the age of terrestrial and lunar rocks? What is the pattern of this phenomenon that makes it possible to use it for these purposes?

Radioactive decay. The decay rate is independent of physical conditions.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.