What does lava harden to?

It hardens into volcanic rock. The kind of rock depends on the kind of lava.