What a drug actually does
Almost every small-molecule drug works the same basic way: it travels through the body, finds one particular protein — its drug target — and physically attaches to it. That attachment changes how the protein behaves, and that change is the drug's mechanism of action. A painkiller might block an enzyme that makes pain signals; a blood-pressure pill might quiet a receptor that tightens your arteries. Different targets, same core move: a molecule sticks to a protein and changes what it does.
The place the drug attaches is usually a dent or groove on the protein's surface called a binding pocket. For an enzyme this is often the active site — the same spot where the protein normally does its chemistry. The drug doesn't dissolve the protein or react with the whole thing; it just settles into this one small pocket, the way a key settles into a lock.
Finding the right protein in a crowd
Your body contains tens of thousands of different proteins, all floating in the same fluids. So why does a drug stick to its intended target and mostly leave the rest alone? The answer is molecular recognition: the drug only sticks well to a pocket whose shape and chemical pattern match it. A pocket that's too big, too small, or lined with the wrong kinds of atoms simply won't hold the molecule for long.
Recognition isn't all-or-nothing, though. A drug holds onto its real target firmly and onto other proteins weakly, and the gap between those two strengths is what makes it useful. We call effects at the intended target on-target effects and unwanted sticking elsewhere off-target effects; much of medicinal chemistry is about widening the gap between them.
Why fit and forces both matter
Two things have to go right for a drug to bind well. First, the shapes must fit — a bumpy molecule needs a complementary pocket, with no big clashes. Second, the atoms that touch must like each other: a positive patch near a negative patch, a greasy surface against a greasy surface. These weak attractive forces, summed over the whole contact, are what hold the drug in place. We'll meet them properly in a later track, but the headline is simple: good binding = good fit + favorable contacts.