YouTube traffic comes from two primary systems:
Search traffic happens when a viewer types a query into YouTube.
Discovery traffic happens when YouTube recommends a video to a viewer on:
The Home page
Suggested videos
The Shorts feed
Browse features
Search is intent-driven.
Discovery is interest-driven.
Both matter, but discovery now drives the majority of views across most niches.