There's a nice science fiction story along those lines. A fellow is dying on an alien planet and his body is taken over by a dying tree that preserves his consciousness as he grows into a huge tree that stands for 1000 years. The story is "Hybrid" from "Galactic Odyssey" by Keith Laumer in case anybody wants to read it.