How does a transistor amplify current or voltage?

"Amplification" may generally be defined as the ratio of "effect divided by control". In the case of the transistor that will be the ratio of collector current divided by base current.

It matters not whether the systems use the same power source or not.