The subject of the sentence is "he" and the verb is "wrote". The object is "a letter" and the prepositional phrase is "to his parents".
Analyse the sentence for syntax.
He wrote a letter to his parents.