Why is light considered as both a particle and a wave?​