@huiminzhu22
The official definition of “desert” is land that gets less than 25 cm (10 inches) of rain per year, on average. Few trees can survive under those conditions, but there are always patches of desert that aren’t so desert-ish, either because there’s ground water or stream water in the soil, or because there’s more moisture at higher, colder elevations.
So the lower-lying areas of the Mojave are pretty tree-less, except for stands of Yucca brevifolia, the Joshua tree—which is not exactly a typical tree: