Why Is The Master Cylinder Reservoir Split Into 2 Separate Units?

Why Is The Master Cylinder Reservoir Split Into 2 Separate Units? This is to allow for fluid level changes as the disc pads wear. Inside the master cylinder is a machined bore that contains the master cylinder primary and secondary pistons. Both pistons are combined into a single, two part unit. Why does my master