Glyphosate is a broad spectrum herbicide which especially kills broad leaved herbs. Crop plants may also get affected by the herbicide, thus now crop plants are genetically engineered for glyphosate resistance. So, when glyphosate herbicide is applied, only weeds get killed and no crop plants get harmed.