It used to be that the NIT was the more prestigious tournament and the NCAA tournament was the "runner-up" tournament. But yes, the NIT is the tournament for teams deemed not good enough to make the NCAA tournament or they missed the NCAA tournament for one reason or another (ie: weak non-conference schedule, strong league but finished in lower half, etc), but they had a good season and deserve some sort of postseason play.
-Tom