Day events versus Airb&b

Hello , can anyone explain the difference between using your home for event space during the day only no overnight and Airbnb over the night which is considered short term rental I’m assuming it’s different because one service is during the day only and the Airb&b is over night ect