The amber would have covered the piece of web keeping it in the same condition as it was in all those years ago.
Many insects and spiders can be kept in amber like this and found millions of years later.
In the Jurassic Park films, the scientists got hold of dinosaur DNA by taking it out of pieces of amber, which dated back to the dinosaur period.