You have to share the data amongst the components in numerous situations. It may consist of unrelated, parent-child, or child-parent components.
The @Input decorator allows any data to be sent from parent to child.