Three jobs, three junction types
Epithelial cells use distinct junctions for distinct tasks. Tight junctions sit near the apical surface and seal the gap between neighboring cells, controlling what can leak between them and helping define a barrier such as the gut lining or the blood-brain barrier.
Anchoring junctions hold cells together mechanically. Adherens junctions link to the actin cytoskeleton, while desmosomes link to intermediate filaments, distributing mechanical stress across a tissue so it resists tearing.
Communication and the bigger picture
Gap junctions serve a fourth role beyond sealing and anchoring: direct communication. Their channels let ions and small molecules pass straight between cells, coordinating activity in tissues like heart and smooth muscle.
Together these junctions explain how a sheet of separate cells behaves as an integrated, sealed, mechanically tough, and communicating tissue. Breakdown of barrier tight junctions, for instance, is studied in inflammatory conditions of the gut and elsewhere.