Each time WordPress loads the page, it will run main loop.
The loop is the way to iterate over all elements related to the page you are currently on.
Main loop will work on a global WP_Query object. The query has a globalized method have_posts(), that allows us to loop through all results. Finally...