Why does a computer need light to work?

because it cannot work without light