Why transformer oil is used in a transformer?

The correct answer is "Both"