The formation of intermediate complexes occurs through the interaction between the catalyst and the reactants. In homogeneous catalysis, the catalyst and reactants are in the same phase, often forming a complex via coordination bonds. In heterogeneous catalysis, the interaction occurs on the surface of the catalyst, where adsorbed reactants form intermediate species with the catalyst's active sites.