I was studying the Create a feature component tutorial on angular.io and then I noticed the @Input decorator property:
@Input
@Input() hero means that hero is a variable that is being passed on to this component from it's parent.e.g
@Input() hero
hero
Here I am passing hero object to hero detail component from it's parent component.