The spacecraft has its own self-contained radioactive power source. It radios all the scientific information it acquires back to Earth. It receives instructions from Earth, so human beings can ponder the significance of the Viking results and tell the spacecraft to do something new.