It is hot during the day and very cold at night in the desert. Why?

We know that in the desert the land is covered all by sand. Sand has low specific heat capacity which means it gains and loses heat very fast. So, during the day it gains max heat and becomes hotter and during the night it loses all the heat and becomes very cold.