TDS is the measuring of the amount of salts in a solution. For alot of applications the amount of salt is indicitive of the levels of other stuff in a solution. TDS/PPM meters sold for gardening and aquariums figure the amount of salt in Parts Per Million by measuring the Electrical Conductivity of the solution under test. So a PPM/TDS meter is a EC meter that converts the EC value into PPM values. There are alot of descriptions online about why and how to measure PPM/TDS or EC so google for them if you want alot more details.
EC is a measure of Electrical Conductivity from two probes 1cm apart. 1 EC is = 1 microsiemens, to convert from EC to siemens multiply by 1E-6. EC can be converted to PPM by multiplying by 500. PPM can be converted to EC by dividing by 500.