An NTC temperature sensor and a light sensor are connected to PORTB on PB0 and PB1, respectively. These analog references can be used as input to the ADC.
An audio amplifier (and mono speaker) is connected to PORTB on pin PB2. This pin is connected to the XMEGA DAC, and thus offers a way to generate sound.