Digital.ai interview question

why microservices are used for?