Reported speech vs direct speech
Reported speech = to talk about (report) what someone has said.
Direct speech = quote what someone else has said
She said: "I am so happy you have done your homework."
She told us that she was so happy that we had done our homework.