A solar panel are most efficient under natural sunlight, however, a solar panel can work using artificial light simply because a solar panel collects photons which collide with silicon atoms transferring their energy which cause them to lose electrons.