God gave each man a woman and each woman a man in the God ordained institute of marriage.
I believe somewhere in the Old Testament there was something about sex being primarily for procreation...however, it is said in the New Testament that it is good for a man to remain abstinet, but let him have a wife in order to forsake adultery and fornication
For a GOOD understanding of marriage, I would suggest reading
1 Corinthians 7