The difference between the sawdust burning versus the sawdust rotting is about 10 years. To the best of my knowledge there is otherwise no meaningful chemical difference.
Fire and water do the exact same thing to wood. It just takes longer for water.