The TENS machine uses low frequency electric current to stimulate nerves for therapeutic purposes, while the ultrasonic machine uses ultrasound waves to generate thermal, mechanical and chemical effects in tissues for pain reduction and recovery.