what is role in the formation of volcano?