PHP Build a Basic PHP Website (2018) Building a Media Library in PHP Adding Active States to the Navigation

$section

Is the sole purpose of $section to underline the active page, and nothing else?

Are we able to use $section to do any other cool tricks?