Macy's interview question

What is a protocol in Swift?