As the lava solidified, water vapor and carbon dioxide trapped within the solidified flows formed a vesicular texture (literally millions of small bubbles). Later, groundwater transported ferric iron, silica, and other dissolved minerals passed through the trapped gas vesicles. These quartz-rich groundwater solutions deposited concentric bands of fine-grained quartz called chalcedony, or embedded agates.