A weed is a plant in an undesired place. Weeds can often compete with crop plants for nutrients and resources and/or harbour and spread pests or diseases which infect or degrade the quality of crops. Although many weeds have undesirable consequences they can also provide a key ecological role.