-in (1)

the adverb in attached to a verb as a word-forming element, by 1960, abstracted from sit-in, which is attested from 1941 in reference to protests and 1937 in reference to labor union actions (which probably was influenced by sit-down strike) but was popularized in reference to civil disobedience protests aimed at segregated lunch counters. As a word-forming element at first of other types of protests, extended by 1965 to any sort of communal gathering (such as love-in, 1967).

-in (2)

word-forming element in chemistry, usually indicating a neutral substance, antibiotic, vitamin, or hormone; a modification and specialized use of -ine (2).