hosp / host comes from the Latin word hospes and its stem hospit meaning both "host" and "guest".
Many words based on it came to English through French, which often dropped the -pi-, leaving host-. Hospitality is what a good host or hostess offers to a guest.
(quoted from Merriam-Webster's Vocabulary Builder)