When Time Lords are dying, they "regenerate." This causes a Time Lord's body to completely change, healing itself at the same time. Each time this happens, Time Lords have a different appearance and a different personality. Even with such big changes, Time Lords do not become different people, and will keep their memories each time they "regenerate." This periodic change makes them live a very long time.