Houlak interview question

About repository pattern, how does it work