Comments in the code explain the purpose of each of those operations.
Many of those operations produce screen output.