Getvariable workflow

why we are using generate row in get varible because we are not providing any values to that ?
is it necessary to provide this step in getvariable workflow?

It is not necessary to add/provide Generate Rows step before Get Variable. Get Variable itself a start step.