Yes, when you want to quote someone's words or thoughts, you can do it in two ways: 'direct speech' (quoting the exact words that were said) or 'reported speech' or 'indirect speech' (without quoting the exact words).
In reported speech, the tenses, pronouns and other words may be different from those in the original sentence, for example:
She said (to me), 'I love you.'
She said that she loved me.
Right, it can be so challenging for a learner to use a report structure correctly, but the good news
