UST interview question

what is repository pattern