Connecting 7-segment display to microcontroller
The one display that is connected through the transistor has two segments that are controlled by a single pin - since it's the 'b' and 'c' segments I'd assume that it's generating the '1' for a 3 1/2 digit display i.e. "1999", so the current needed to drive the two segments is more than a single Arduino pin can provide.