Herbs like basil can improve the growth and flavor of tomatoes, while dill and parsley attract beneficial insects that help control pests. However, be mindful of herbs like fennel, which may inhibit the growth of neighboring plants.