Chameleons change color primarily to communicate and regulate temperature, not just to camouflage.
Why it is true
Their skin contains nanocrystals that reflect light. By adjusting the spacing between these crystals, they change color to signal mood, attract mates, or absorb more heat.
Source: Biology
Would you rather be asked first?
This is the reading side of the site, so the answer is in the sentence above — that is the whole point of it. Test yourself works the other way round: the question comes on its own, and the fact and the explanation only appear once you have answered.