A three-dimensional representation of a molecule that is used for modeling recognition of ligands and macromolecular targets.