HM Revenue and Customs interview question

How room database works in android