Solar energy is harnessed through a variety of technologies that convert sunlight into electricity or heat. The most common solar technology is photovoltaics, which uses solar panels to convert sunlight into electricity. Solar panels are made up of semiconductor cells that absorb sunlight and release electrons, which creates a flow of electricity.