Houlak Interview Question

About repository pattern, how does it work