Google companion planting, there are several articles out there
The extra element in hydro is planting like
nutrient requirements together. Lettuce and tomatoes do not go in the same system together as lettuce would be waaaaay over fed and the tomatoes would basically starve.