Long story short, the pilot burner is the flame sensor also. The spark wire also sends another signal and when there is flame present the IID device can sense flame and proceed with the ignition process.