In the figure above, we can make the analogy of the operation of a transistor with that of a valve.
NPN: When a positive force (up and down) is applied to the valve lever, flow occurs from the manifold which is up (+) to the emitter which is down (-). The greater the force on the valve, the more the flow between the manifold and the emitter will be amplified.
PNP: When a negative force (from bottom to top) is applied to the valve lever, a flow appears from the emitter which is in height (+) towards the collector which is in bottom (-). The greater the force on the valve, the more the flow between the emitter and the collector will be amplified.