function: a formal or official social gathering or ceremony
social gathering: a gathering for the purpose of promoting fellowship
safe sex: sexual activity (especially sexual intercourse) with the use of measures (such as latex condoms) to avoid the transmission of disease (especially AIDS)