Macy's Interview Question

What is a protocol in Swift?