What two processes contributed oxygen to earth’s second atmosphere?

a.photosynthesis and volcanism
b.volcanism and weathering
c.weathering and rainfall
d.photosynthesis and photolysis