It is carbon dioxide. Photosynthesis use carbon dioxide to produce oxygen.
Answer:
Star 1 is hotter and brighter than Star 2