In his book 'How to make a Wildlife Garden' Chris Baines gives the following figures for associated insect species for live native trees:
Sliver Birch - 229 species
Downie Birch - 200+ species
Hawthorn - 149 species
Alder - 90 species
Aspen - 90 species
Rowan - 28 species
Oak - 284 species
Beech - 64 species
Ash - 41 species
White Willow - 200+ species
Small leaved Lime - 31 species
I don't have figures for dead wood. However, The Forestry Commission have a policy of leaving standing dead wood when the fell trees due to its importance for wildlife species.
It astonishes me just how much brash and small poles are left to rot, even big tree trubk's
Snip>
If you are looking for diversity the tree that supports the most and for the longest time is an ancient hollow pollard tree. There is lots of dead wood in the centre for the rare beatles, flies etc, a very stable bark surface suitable for rare lichen, lots of nooks and cranies for all manner of creepy crawlies to hide out in and still all the green leaves that a young tree would have so all maner of bugs feeding there too.
The dead tree results in a short feeding frenzy for the dead wood specialists but 10-15 years and it's gone, the old pollards can go 800 years.
Has to be the top answer, multi-purpose habitats...
Don't forget that they only pump out oxygen when they are in leaf. Watching An Inconvenient Truth by Al Gore shows the step in the graph of CO2 levels going up and down, up and down, every year. The trend is towards an increase in CO2 overall, but the stepping up and down is due to the pumping out of oxygen when in leaf and then the lack of that when the trees shed their leaves in autumn and winter. Don't forget that the land mass of the world is mainly in the northern hemisphere, hence the massive impact shown in annual CO2 levels. If you haven't seen the film, it is worth taking a look, it is an eye opener as much as this thread, which is a brilliant question by the way!
TInteresting theory about CO2 levels. I would be surprised if trees in the Northern hemisphere had such a marked effect baring in mind the tropics are in leaf all year and the southern hemisphere is summer when Northern is dormant. Also in terms of all the photosynthesis going on on the planet I would have thought the oceans played a far bigger part than the small percentage of land under tree cover. Even in the Northern hemisphere there are far more conifers than deciduous though the conifers photosynthesize less in winter too.