What is the difference between generator and transformer?

Generators actually generate current and transformers convert between current and voltage.