This GIF explains how it was discovered that some rocks have the ability to fluoresce. Sir John Stokes realised that when he held a piece of Flourite that he had collected in the sunlight it appeared blue, but when the Flourite was held in the sunlight it looked more Green.