NATO stands at the forefront of the response to Russia's aggression in Ukraine. But how does NATO function?