There's a lot of talk about softwood and hardwood, modern wood and quick grown wood and wood they way it used to grow and wood that grows in Wicks.
But it's the species that counts. And the paint.
Softwoods such as larch and Douglas fir and cedar are durable. They have naturally occurring chemicals that inhibit moulds. Given suitably designed joinery that sheds the rain and doesn't leave the wood sitting in permanent puddles, they are very suitable for windows without using nasty artificial poisons.
Hardwoods such as English and European oak, teak and mahogany are very durable and suitable for windows. But teak and mahogany should be left where they are, grown sustainably for local use. Not bought by us. Which leaves us with oak. It is the best material. There is plenty of it, it is growing faster than it is being used, it looks great and, without any treatment, it will last for centuries without rotting. While it's growing an oak tree supports a greater biodiversity than any other temperate tree and for every cubic metre of oak that is turned into window frames about half a ton of carbon dioxide is taken out of the atmosphere and fixed for centuries.
Paint is a big problem, causing the early rotting of much wood. Modern alkyd-based paints are too waterproof. Unless very carefully maintained cracks will develop which allow water to get to the wood. The impermeable paint layer then stops the wood drying out again and rot sets in. The paint peals off and folk think the wood is rubbish and change it for uPVC. If real linseed oil paint is used these problems don't arise. The paint allows the wood to dry out - like a Goretex jacket instead of like a plastic mac with a hole. The wood stays dry, it doesn't rot, the paint does not peal and the only folk who suffer are the paint manufacturers because you won't be back next year for another can. Which is why almost, but not quite, all paint manufacturers do not make linseed paint anymore.
Use only linseed oil paint on new softwood windows and on oak windows either use linseed oil paint or don't bother painting them at all.