These two buttons allow you to switch the timeline’s view mode between Dope Sheet and Curves modes.
This tutorial utilizes Dope Sheet mode exclusively, but each mode can be useful.
Generally, you will set up your keyframes in Dope Sheet mode and then use Curves mode if you need to fine tune how the values are interpolated between your keyframes.