How do we know some lines of code are a function?

Because they start with the word functionBecause they have braces, { and }, around them

We know lines of code are a function because they start with the word function.