Farmers often plant onions with or around their strawberry crops to deter pests. Deer and rabbits don't like the smell and will avoid onions, which keeps them out of the strawberry field. These are often called "strawberry onions".