How does transistor acts as an amplifier?

When transformer is used in step up mode then we can use transformer as amplifire