plants need mineral ions from soil or they will get deficiency issues. they need nitrate for making proteins which is used for growth if not the plant will have stunted growth. plants need magnesium ions as they produce chlorophyll which is needed for photosynthesis if not the plant will suffer from chlorosis and yellow leaves