Tofu goes through a process known as coagulation, the transformation from soy milk to solid tofu. Coagulants act on the proteins in soy milk, causing them to aggregate and form a gel-like structure that solidifies into tofu. Traditional coagulants include nigari (derived from seawater) and calcium sulfate. The coagulation process, combined with pressing, determines the different types of tofu.