What function does the scent of basil serve against flies, according to the text?

Answer

It masks attractive odors or creates an environment they actively avoid.

The mechanism of the deterrent effect is not always about killing pests, but rather about masking odors that attract them or creating an environment that flies actively avoid due to the strength of the herb's scent.

What function does the scent of basil serve against flies, according to the text?
plantrepellentHerbbasilFly