Thyme is a great companion plant in your herb garden as it prevents fungal infections in plants. You can plant thyme near oregano, parsley, rosemary, marjoram, sage, lavender, dill, tomatoes, eggplants, cabbage, berries, and even roses.