Destroying weeds and not the planted crops has always been a problem which for a long time demanded a large workforce and, more recently, the use of herbicides.
Today, there are robots capable of accomplishing this task if the weeds are between rows of crops or between regularly spaced plants.