Due to the increasing demand for clean energy, it becomes more and more necessary to find out more efficient ways to generate clean energy. Because of this, the light conversion efficiency of different materials has been largely studied. The purpose of the study is to investigate how the silicon pyramidal nanostructures and graphene layer affect the light-absorbing performance of materials and achieve a broadband light absorber. Simulations of four experimental groups, including both with nanostructure and graphene, with nanostructure and without graphene, without nanostructure and with graphene, both without nanostructure and graphene, are done to obtain and compare the data through the method of finite difference time domain (FDTD). By analyzing the simulation results, it is found that the silicon pyramidal structures can improve the light absorption within the range of visible light. Moreover, the presence of graphene layers can improve the light absorption within the range of near-infrared to infrared light. The number of layers can also have effects on light absorption.