"Bye" is short for "goodbye" and means the same as "farewell" (originally Fare thee well). The word "goodbye" derives from the old English "God be with (ye)you". It is a form of blessing as one leaves, and the opposite of "hello".