With a system as flexible as Craft CMS, you have a number of places where you can put your code. Ryan & Andrew talk about the reason for these coding layers, and how to find just the right home for your code when building a project.
Some stuff to help you along during the lesson: