If there is a problem that the doctor needs to fix, a surgery can also be done using a similar machine. 
This machine has a laser light at the end of the wire, which acts like a sharp knife. 
 This allows the doctor to repair or cut away the damaged part of the body. 
 A nurse moves the wire with the camera while the doctor uses the laser light to make the cuts and do the surgery