Redis interview question

Describe how databases are used in microservices architecture?