The neck tie was used to keep the shirt top together before the advent of buttons. The collar was invented to hide the part of the tie that goes around the neck (ok, I made that last one up).