Example for RefInput 1 and RefInput2 and why it is mandatory?

Example for RefInput 1 and RefInput2 and why it is mandatory?

Ref Input 1 and Ref Input2 both are the unique identifier which is used to distinguish the records in the event workflow

Example : We have multiple product to be selected then we can pass product id in Ref Input 1 to distinguish the product