What are microservices, and why are they used in modern software architecture?
Answer: Microservices are a software architectural approach where applications are built as a collection of small, loosely coupled services that can be developed, deployed, and scaled independently. They promote agility, scalability, and ease of maintenance in complex systems.