How do solar panels work?

Solar panels trap energy in through metal or silicon which absorbs the sun’s heat and generates an electric current when exposed to sunlight.

New Zealand’s countryside is dotted with solar-powered lighthouses, and kilometres of electric fences on farmland and nature reserves are powered by solar energy.