Yes, cilantro can keep bugs and other annoying pests such as aphids. Cilantro plants can deter spider mites as well.