Pergunta de entrevista da empresa Macy's

What is a protocol in Swift?