You never know what you might find inside an agate. These minerals are formed in cavities left by gases trapped within volcanic rocks when they solidify. Later, water carrying silica in solution gets into the cavity and the silica gradually crystalises to become quartz.