Understanding Input and Output Decorator in Angular

In Angular, @Input() and @Output() are decorators used to communicate between parent and child components.