Pergunta de entrevista da empresa Slack

What are design patterns, and why do we use them?