The sun is a dense collection of gas having high temperatures and high pressure.
This high temperature and pressure force the atoms of hydrogen to move faster and collide with each other.
This results in the nuclear fusion of hydrogen atoms into helium.
Thus, options A and C are correct.