Fixation works by cross-linking proteins and other cellular components, thereby immobilizing them. This process generally involves the use of chemical agents that form covalent bonds with cellular proteins. The choice of fixative depends on the type of tissue and the specific histological techniques to be employed.