Question: what is the difference between a function and an event?
Answer: As nouns the difference between function and event is that function is what something does or is used for while event is an occurrence; something that happens.