God created Adam and put him in the garden of Eden that He’d created and gave Adam the job of naming all the animals. Out of all the animals God couldn’t find a helper for Adam.
So God made Adam fall asleep, took one of his ribs and made Eve to be a helper for Adam. God called the helper God made for Adam woman because she was taken out of man.