Altered Carbon is a science fiction thriller set in a future where technology has advanced to the point of being able to transfer a person's consciousness into a new body. The story follows Takeshi Kovacs, a former soldier who is brought back to life centuries later to solve a murder mystery
From Wikipedia
Altered Carbon is a 2002 British cyberpunk novel by the English writer Richard K. Morgan. Set in a future in which interstellar travel and relative immortality is facilitated by transferring consciousnesses between bodies ("sleeves"), it follows the attempt of Takeshi Kovacs, a former U.N. elite soldier turned private investigator, to investigate a rich man's death. It is followed by the sequels Broken Angels and Woken Furies.