Also, I think transformers are used in ethernet for common mode rejection, which basically, reduces noise.
This has to do with the twisted pairs, the noise that enters one wire of the pair will enter the other one too, except 180 degree's out of phase. When they pass through the transformer at the end of the line, the noise is cancelled out becuase it entered out of phase in one of the two wires.