What is the difference between component level peoplecode and record level peoplecode?

Component and Record level PeopleCode are executed when the control is passed to the associated Component and Component containing the record respectively. Since a single record might be associated with several different Components, It is posiible to trigger the same Record PeopleCode from several components while the component level code is associated with a unique component.