Which is the correct definition of the term “foot” as it is used in poetry?

the basic unit of meter in poetry

parts of stressed and unstressed words

arrangement of stressed and unstressed words