NATO is a collection of 30 nations with a mutual defence treaty. That is, if one is attacked, the others are obligated to come to its defence.