The Max rows filter is used to limit the amount of records that are passed further on in the job's flow.
If placed as the first component in a flow, the Max rows filter is optimizable in a way where it will modify your originating query. This means that it is also an appropriate filter to use if you just want to sample the data used in your job.