Tennis courts are constructed of multiple layers, the least of which is the visible surface (clay, hard, and grass). 4 layers make up a court: the formation, the foundation, the regulating base, and the wearing surface. The formation is a partition between the ground and the real court and is often the first layer.
https://mytennisexpert.com/tennis-basics/tennis-court-surfaces