Merlin functions as a linker between the plasma membrane and the cytoskeleton, thereby influencing cell shape, motility, and adhesion. It acts as a tumor suppressor by inhibiting various signaling pathways such as the Ras signaling pathway and the Hippo signaling pathway. This helps in controlling cell proliferation and maintaining contact inhibition, a process that prevents cells from overcrowding.