Menus and Search
If you have a website or app, you can provide menus or you can provide search. User can use menus or search and find content on your website.
Most of website and apps provide both option.
Depending upon your preference, user will use menu or search
Menu takes finite input (Menu option can have 1,2,3,4 or 5 option).
Search bar has infine input (User can type anything in search bar)
It means you can show finite content/small amount of with menu option.
You can show infinte/large amount of content with search bar.