Lightning web components dispatch standard DOM events. Components can also create and dispatch custom events. Use events to communicate up the component containment hierarchy. In case you wish to communicate down the component containment hierarchy, pass properties to the child via HTML attributes, or call its public methods.
Ref link : https://developer.salesforce.com/docs/component-library/documentation/en/lwc/events
Lightning web components dispatch standard DOM events. Components can also create and dispatch custom events. Use events to communicate up the component containment hierarchy.
In case you wish to communicate down the component containment hierarchy, pass properties to the child via HTML attributes, or call its public methods.
Ref link : https://developer.salesforce.com/docs/component-library/documentation/en/lwc/events