To produce a good electrical connection the solder has to alloy itself with the surface of the metal being soldered (the substrate). To do this, it has to reach a certain temperature. A dry, or "cold" soldered joint hasn't undergone this process and although it appears to be complete, the electrical conductivity is poor.
The trick, when soldering, is to "tin" both components of the joint so that they have a coating of solder which has alloyed to the surface. To this end electrical solder uses "flux" which melts at a lower point than the solder. Because metal oxidises when heated the purpose of the flux is to coat the substrate and prevent oxidisation. When the solder melts the flux floats above it (because it is less dense) and allows the solder to fuse with the substrate.
When the joint is brought together all that is required is enough heat to melt the solder on both parts of the joint which will flow together, effectively welding the joint and producing good electrical conductivity.