Paytm Interview Question

What are Design Patterns? Explain Observer pattern?