AI is used in surgery not only for diagnosing patients but also for decision-making and automated (robot-assisted) surgeries.