Ultrasound machines work by emitting sound waves through a transducer placed on the patient's skin. These sound waves travel through the body and bounce back to the transducer when they hit different tissues and organs. The machine then converts these reflected sound waves into images that can be examined by healthcare professionals.