How do I remove trees?

I want to create a datapack that removes trees from the world, but I don't know how.

Continue to help post