Energy in ecosystems must be continuously supplied by the sun as the warmth from the sun allows plants to grow plus photosynthesis depends on the sun's energy also. Animals also depend on the sun for warmth to survive (or else hibernate). Also, the sun powers the water cycle, the carbon cycle and the nitrogen cycle
As the temperature increases, the average kinetic energy increases, making the gas particles hit the walls of the container more (therefore increasing pressure). Hopefully this helps! Good luck :)