Nato has often seemed to lack purpose, but Kosovo and Afghanistan gave the alliance a second wind at the end of the 20th century, and peacekeeping roles in Libya have helped to sustain it. At its summit in Wales this month Nato faces one of its biggest challenges in years – the defence of Europe against Russia