π-stacking
Picture two coins lying near each other; flat aromatic rings in a drug and its target like to pack against one another in much the same way. The clouds of loosely held π-electrons above and below each ring let two aromatic systems attract and slot together. This is π-stacking, and it is a common way for a drug's benzene or heteroaromatic ring to grip an aromatic side chain of the protein.
The geometry matters. Two rings rarely lie perfectly face-to-face and centered, because their π-clouds would repel; instead they prefer a parallel-displaced arrangement (offset like two overlapping coins) or an edge-to-face 'T-shaped' arrangement where the rim of one ring points at the face of the other. The interaction blends dispersion forces with electrostatics shaped by each ring's electron-richness.
In design, swapping or decorating an aromatic ring to tune a π-stacking contact is a familiar lever for affinity and selectivity, especially against the aromatic residues phenylalanine, tyrosine, tryptophan and histidine. The caveat: piling on flat aromatic rings to chase stacking tends to flatten and lipophilic-ify a molecule, often hurting solubility and overall drug-likeness.