#In the beginning God created the heavens and the earth

This introductory statement gives a summary of the rest of the chapter. AT: "This is about how God made  the heavens and the earth in the beginning." Some languages translate it as "A very long time ago God created the heavens and the earth." Translate it in a way that shows that this actually happened and is not just a folk story.

#In the beginning

This refers to the start of the world and everything in it.

#the heavens and the earth

"the sky, the ground, and everything in them"

#heavens

This refers here to the sky.

#without form and empty

God had not yet put the world in order.

#the deep

"the water" or "the deep water" (UDB) or "the vast water"

#the waters

"the water" or "the surface of the water"