The term was originally used to mean 'carefree', 'cheerful', or 'bright and showy'.The term's use as a reference to homosexuality may date as early as the late 19th century, but its use gradually increased in the mid-20th century.
Gay is a term that primarily refers to a homosexual person or the trait of being homosexual.