EC is the measurement of metals or nutrient contents or otherwise how strong your nutrient mixture is. Ensuring you EC is correct for different plant stages will maximise yields as-well as prevent nutrient lockout.
pH is how Alkaline or acidic your water or nutrients is. It is essential for the uptake of certain nutrients. Managing your pH correctly will help maximise yields and ensure healthy crops.