What does .PageGroups do?

Hello,

I can’t seem to find much information on what .PageGroups does.

{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups  }}

Via: Pagination | Hugo

Could someone explain what the above code does? Why would I need .PageGroups?

Thanks!

https://gohugo.io/templates/lists/#group-content