Nitrogen is taken up by plants in the form of ammonium (NH4+) or nitrate (NO3-) ions through their roots.