Consider that you have a water pipe running which has an inlet (From where water enters) & an outlet (from where water leaves the other end). Now assume that the base of the transistor is the tap on the pipe which will either block the flow of water or it will allow the water to flow through it. using this analogy you can decode the working of transistor, Assume that collector is connected to +5v & Emitter is grounded, if Base voltage < threshold vtg then it will not allow the current to flow through the ground but in this case you will get a high output at the collector & if base vtg>threshold vtg then transistor will turn on & it will allow the current to flow to ground (output at collector = 0v). So that means it doesn't really matter from where you take the output until & unless you are using transistor as a switch but it does matter when you are using transistor for amplification.