After we die the cells of our flesh decay and are consumed by micro-organisms. This process happens all over our bodies until we are dust.
But in rare circumstances our bones are preserved as fossils.
When this happens, decomposing DNA can become trapped deep within our bones and our teeth where it can stay for many tens and sometimes hundreds of thousands of years.