A journey from the solar nebula to planetary bodies: cycling of heat, water and organics