Celery is a helpful companion plant, deterring pests like aphids and spider mites. It benefits nearby tomatoes by masking their scent, reducing pest attraction, and works well with leeks and onions, which repel insects.
However, celery should be kept away from carrots, as they compete for similar soil and water. Overall, celery supports a healthy garden with its pest control and space-efficient growth.