It is used to control entry to events