Is light matter or energy?

I've heard that light is energy, but it moves through vacuums and is affected by gravity. All the other forms of energy (i.e. electrical, thermal) seem to based in matter, but light seems completely independent from it. What is light?
9 answers 9