( ( Being self-luminous ) ( ( ( ( makes ( stars ( different ( from ( planets ( , ( moons ( , ( asteroids ( , ( and comets ) ) ) ) ) ) ) ) ) ) ) , ) ( ( all ( of which ) ) ( shine ( by ( reflecting sunlight ) ) ) ) ) . ) )
(ROOT (S (NP (JJ Being) (NNS self-luminous)) (VP (VBZ makes) (S (NP (NNS stars)) (ADJP (JJ different) (PP (IN from) (NP (NNS planets) (, ,) (NNS moons) (, ,) (NNS asteroids) (, ,) (CC and) (NNS comets))))) (, ,) (SBAR (WHNP (DT all) (WHPP (IN of) (WHNP (WDT which)))) (S (VP (VBP shine) (PP (IN by) (S (VP (VBG reflecting) (NP (NN sunlight))))))))) (. .)))
Being self-luminous makes stars different from planets, moons, asteroids, and comets, all of which shine by reflecting sunlight.
(ROOT (S (NP (NP (DT The) (NNS setmoons)) (, ,) (NP (NNS planets)) (, ,) (CC and) (NP (NNS comets))) (VP (VBZ contains) (NP (NP (JJ only) (NNS objects)) (SBAR (WHNP (WDT that)) (S (VP (VBP shine) (PP (IN as) (NP (NP (DT a) (NN result)) (PP (IN of) (NP (JJ reflected) (NN light)))))))))) (. .)))
The setmoons, planets, and comets contains only objects that shine as a result of reflected light.