Spock mind-melds with the Horta

On the planet Janus VI, Lieutenant Commander Spock, first officer and science officer of the USS Enterprise NCC-1701, mind-melded with the Horta. He discovered that the Horta was preparing for the extinction of its race.