Molecular docking is a method used to predict how biological molecules, like proteins and DNA, bind to each other. It involves calculating the strength of non-covalent interactions between molecules and ranking these according to their affinity. Docking has become an important tool in drug design for predicting how drug candidates will bind to target proteins.