Analog and digital
A digital signal is only on or off (1 or 0); an analog signal can be any value in between.
Sensors like a potentiometer, LDR or LM35 give analog voltages; buttons and PIR sensors give digital ones.
Lessons
Everything on this subject: Microcontroller Basics: Pins, PWM and Signals, Simplified

