I have a diagram that represents a circuit whose purpose is enabling/disabling two leds basing on a logic programmed in a micro-controller.
In the circuit below, as far as I understand, there are two n-type transistors, and they have a resistor connecting their gates with their sources, respectively.
My questions is: Why are the marked resistors necessary? (red circle)