Cells respond to mechanical stress by altering their shape, cytoskeletal organization, and signaling pathways. For instance, under tensile stress, cells may elongate and strengthen their cytoskeletal network. In contrast, compressive forces can lead to cellular compaction and changes in gene expression to adapt to the new environment.