Complexes in nanotechnology are formed through various chemical bonds and physical interactions. Common methods include self-assembly, where molecules spontaneously arrange themselves into organized structures, and directed assembly, where external forces such as magnetic fields or electric fields guide the formation of the complex. Additionally, covalent bonding, ionic bonding, and hydrogen bonding are frequently employed to stabilize these complexes.