There are different types of nanobots such as nanobots for diagnosing a disease, monitoring diabetes, repairing tissue, immune system modulation and even microsurgery!
医学百科 The Medicine Book (Big Ideas Simply Explained)
The development of microsurgery techniques in the 1970s enabled the complex reattachments of skin and body parts, complete with nerves and blood supply.