Xbee Running Stuff that Requires More than 3 Volts
I don't know the specifications of your xbee controller, but most microcontrollers can only deliver fairly low currents - often less than 20 mA.  The transistor can control the much higher currents that may be required by your smoker, or by relays or motors.