Slack interview question

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