Here's why:
* Sodium (Na) has a +1 charge as it wants to lose one electron to achieve a stable electron configuration.
* Nitrogen (N) has a -3 charge as it wants to gain three electrons to achieve a stable electron configuration.
To balance the charges and form a neutral compound, you need three sodium ions (3 x +1 = +3) to combine with one nitrogen ion (-3).