Most algorithms are taught as if the input were some abstract thing that simply arrives at the function boundary.

An array appears.

A graph appears.

A stream of numbers appears.

A database query arrives.