Two major types of solar energy