Barclays interview question

Why did you use firebase database?