Pregunta de entrevista de Paytm

What are Design Patterns? Explain Observer pattern?