Flint is used to burn wooden buildings and trees. You need to click a few times to set something ablaze. When you've burnt a wooden building, the building will turn red and it will disappear in seconds. But you can extinguish the fire before it burn down the building with a Bucket of Water.
Burning things down
Crafting Flint and Steel (Not In Game)