Geotechnics is the knowledge related to the study of soil and rock in an engineering context. It encompasses techniques and methods for understanding and analyzing soil and rock, as well as developing solutions for managing and utilizing these resources in a safe and sustainable manner.