Its a heat exchanger.
The ground is cooler than the air in the hot summer.
Outside the desert you can use a water loop as well and/or run the loop through a water body.
Curious - what sort of trench depth are you digging, what size duct, for what sq ft / area home?

quality of life improvement for free..