Photovoltaic cells harness the energy from photons by exciting electrons in a process which is both physical and chemical in nature. The process of creating electricity through taking in light happens as crystallized atoms becoming ionized in series creating a flow of electric current. To get a better understanding of how the process occurs and how different variables affect the output of electricity, the class conducted an experiment to get answers. The lab that was done involved students pointing a flashlight at a solar panel at different distances and then at the same distance but with different colored filters. Using the LEGO Mindstorm, a program took down multiple values at different intervals. From those values one was able to calculate an average for that very run. In my group we ran 3 different runs at different distances and for the filter portion of the lab we used 3 different colors. Using these values one graphed the values to find a line of best fit for the varied distances and the other portion was made into a bar graph to demonstrate the amount of energy produced by each color.