A robot is being used to perform surgery on a patient.