Correct sentence:
A chameleon can change color to show its mood, to respond to temperature, or to hide.
Why this is better (easy steps):
- We start with the subject and verb: "A chameleon can..." — that is correct.
- There are three reasons, so we separate them with commas and use "or" before the last one.
- Each reason uses the same form "to ..." (this is called parallel structure), so the sentence sounds even and clear.
Try reading it slowly: "A chameleon can change color to show its mood, to respond to temperature, or to hide."