This is how geologists collect lava samples from an active volcano.
Chemical analysis of lava provides important information about activity deep inside a volcano's magma chambers.
Video credit: USGS
Source: https://volcanoes.usgs.gov/vsc/movies/movie_187.html