Unit 6 Lesson 8 Defining function with parameters

Could I get a simple explanation of why some of the variables are in quotes and some aren’t? Is it just element-id’s that would act as a variable but still be in quotes? I am so accustomed to words within quotes as strings that don’t interact with the program, they are just printed.