Geologists collect lava samples to understand the inner workings of volcanoes, and to help predict future eruptions.