The sun is a primary energy source, the greenhouse effect being secondary.
(The sun; is; a primary energy source) (the greenhouse effect; being; secondary)
The sun the greenhouse effect
is being
a primary energy source
secondary