Infosys Interview Question

how memory management is done in OS?