Magnesium stearate is commonly used as a lubricant in tablet manufacturing to improve the flow properties of granules and powders, allowing for smooth tablet compression. It reduces friction between particles and helps prevent sticking to the equipment, ensuring efficient and consistent tablet production.