Formalin penetrates tissues and reacts with amino groups in proteins to form methylene bridges. This process helps in maintaining the structural detail of the tissue and prevents enzymatic degradation. The fixation process typically takes anywhere from a few hours to a couple of days, depending on the size and type of tissue.