The probe that landed on the surface of a comet has discovered organic molecules, the most rudimentary building blocks of life, according to the German agency involved in the mission.

An instrument aboard the Philae lander detected the molecules after “sniffing” the comet’s atmosphere. An organic compound is one whose molecules contain the carbon atom, the basis of life on earth.

Scientists...