Plant cells release chemicals such as pheromones and volatile organic compounds to attract pollinators and repel predators.