What keeps the very dense gas at the core of the Sun from becoming a solid?

2 answers

Intense heat?
pressure