Which action is an example of genetic modification (creating GMOs)?

Inserting a foreign gene into the DNA of a plant to make it resistant to pests or herbicides is an example of genetic modification (creating GMOs).