The Bible tells us that God made Eve out of one of Adam’s ribs.
The LORD God caused a deep sleep to fall upon the man, and while he slept took one of his ribs and closed up its place with flesh. And the rib that the LORD God had taken from the man he made into a woman and brought her to the man.
This account is so clear that there can be no doubt about what happened. God removed a bone from Adam’s side and replaced it with flesh. He then transformed that bone into Eve, the first woman.
But there may be more to the story than that. I have seen Bibles in which there is a footnote to the word “rib” saying that it can also mean “part of a side”. And here is something I found on the site gotquestions.org.
If a physician examines someone whose age he doesn’t know he can make a good estimate of his age because he understands the aging process and know long it would take his patient to reach his current physical condition. But what would happen if he traveled back in time and examined Adam a few days after his creation and tried to guess his age? If he didn’t know Adam had been created directly by God he would assume he had been born as a baby and grown to adulthood. His estimate of Adam’s age would be much too high. His error wouldn’t be the result of any incompetence on his part but it would occur because of his lack of historical knowledge of Adam’s past.