Solar energy can be converted into electrical energy using photovoltaic cells, also known as solar cells. Solar cells are made from materials that convert sunlight into electrical energy. When sunlight hits the solar cell, it releases electrons, creating an electric current. This current can then be used to power various electrical devices.