The function of shielding in a nuclear reactor is to prevent the harmful radiations which are emitted from radioactive materials like Uranium and plutonium,so to prevent this the reactors are shields with lead/concrete etc.