Does "Historically they have been used in arid climates or warm temperate regions to keep buildings cool by absorbing solar energy during the day and radiating stored heat to the cooler atmosphere at night." contain the correct answer to "How is thermal mass used to keep buildings cool?"
yes