Shellac is commonly used in the sealing step of the sugar coating process in tablet formulation. It acts as a moisture barrier and provides a glossy finish. The sealing layer is applied before sub-coating and is critical to maintaining tablet integrity by protecting the core from moisture.