For preparation and loading of protein samples onto a gel for SDS-PAGE analysis (Western blot/protein blot).
Preparation: SDS contained in the sample buffer makes proteins negatively charged proportionally to their length. 2-mercapto-ethanol/DTT breaks disulphide bonds.
Loading: glycerol makes the sample buffer more dense than the surrounding running buffer of the protein gel, enabling easy loading into the gel pockets.