Transformation in grammar refers to the process of changing the structure of a sentence while keeping the meaning the same. It involves altering sentence elements (like word order, tenses, or voice) without changing the fundamental message.
For example:
Active to passive transformation: She reads the book → The book is read by her.
Statement to question transformation: He is going. → Is he going?