Another way to say "having a party is for celebrating" is "People celebrate events by hosting parties."