<div>A component event is used to communicate data to another component. It contains attributes that can be set before the event is fired and read when the event is handled. It can be handled by the component that fired the event or by a component in the containment hierarchy that receives the event.</div>
Events are used to Communicate between two components .Component Event is fired from Child Component and handled by parent component or component that fired the event