In the diagram of the earths interior, where does the material that forms volcanos come from?

Using the same diagram, which part is the densest?

In the diagram of the earths interior where does the material that forms volcanos come from Using the same diagram which part is the densest class=