Transgenic refers to the organism whose genome has been changed by the introduction of one or more foreign genomes into the organism.
Cotton has been genetically modified by the introduction of one or two genomes from Bacillus thurenginesis so that it could produce insecticidal proteins and protect itself from insects.