Final answer:
The subject of the sentence is 'God'.
Step-by-step explanation:
The subject of the sentence 'God created the heavens and the earth' is 'God'. The subject is the noun that performs the action in a sentence. In this case, God is the one who is doing the creating.
Learn more about Subject in a sentence