Alchemists had noticed that luna cornua (horn silver) aka silver chloride darkened when exposed to daylight. It was determined that sunlight reduced the salt to metallic silver. This proved an important revelation in the eventual production of photo-sensitive emulsions.
page from The Chemistry of Photography, By William Jerome Harrison, published 1892