Atomically thin two-dimensional (2D) materials have been a famous and fascinating material in recent years due to the potential to replace conventional semiconducting bulk electronic materials. To control the performance of 2D materials, many methods have been proposed, including physical and chemical ways, to manipulate the electronic, atomic and microscopic properties. In this work, we would like to present a physical method based on the interactions of 2D materials with light to influence the 2D material properties and device performance. By reviewing some recent published work, we will show how effective the light can be to functionalize 2D materials. The fundamental fluorescence phenomenon and current applications using 2D materials in optoelectronics, such as photodetectors, solar cells and light emitting diodes, to obtain improved device properties will also be discussed.