Why is base resistor of a transistor important?
Without resistors, your circuit looks like 







simulate this circuit &ndash; Schematic created using CircuitLab

The problem is that there is no voltage across the emitter-base of Q1, so it cannot turn on.