Genesis 2:18-24 seems almost redundant to casual readers, as it basically reinforces Genesis 1:27. Namely, that God created both men and women. However, where Genesis 1:27 states:
So God created man in his own image, in the image of God created he him; male and female he created them.
Genesis 2:18-24 says the following:
Then the Lord God said, “It is not good that man should be alone; I will make him a helper as his partner …” So the Lord God caused a deep sleep to fall upon the man, and he slept; then he 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 …”
There is a specificity to the second quote which brings up some interesting questions with regard to gender and the Bible. The discussion of Genesis 1:27 can be found here, and the discussion of Genesis 2:18-24 can be found here.