I assume we are talking about sex selection in humans. One obvious point in favor is that people would be able to get a boy if they wanted a boy and a girl if they wanted a girl. Another point in favor might be that there would be a better balance of siblings in a family. This could benefit the children, because there would probably be less sibling rivalry between, say, a brother and sister than between two brothers or two sisters. Furthermore, there might be some diminution of population growth. Some couples who have, say, two boys will try a third time hoping to have a girl, whereas they might stop with two children if they had a girl and a boy. Same, of course, if they had two girls and wanted a boy. (And some couples have five girls or five boys just hoping to have one of the opposite sex.)
One point against sex selection is that it could lead to an imbalance of the sexes within a population. This has happened in China, where the government has tried to reduce the population by permitting a woman to have only one child. The Chinese have traditionally favored boys for economic reasons, and there are now more than 25-million males who will be unable to find wives because of the imbalance. Another point against sex selection is that it almost inevitably leads to abortions. In China and India, as well as elsewhere in the world, it is now easy to determine the sex of an embryo, and many women are having abortions of perfectly healthy infants if they are not of the desired sex. This sort of interference with nature seems not only dangerous but a waste of medical expertise on what seems like a frivolous fancy. After all, having a healthy baby is what is important. Discrimination against infants on the basis of gender is as immoral as any other kind of discrimination and should not be encouraged.
The resource I listed for you is full of pros and cons for sex selection, which is the ability to select the sex of offspring, either male or female. Reasons vary from societies desiring male offspring to pass along estates and titles, to continuing a family name bloodline, or to simply desiring a son over a daughter. Reasons against vary from preventing undesired offspring killing, to psychological implications, to reducing child abandonment. There are a variety of methods to insure the sex selection of an unborn child. Most have to do with the isolation of the X and Y chromosome that determine the sex of the child. A child with XX combination will be female, while that of XY will be male. This can be accomplished in vitro, with relative ease.
I personally believe the sex of the child is part of the mystique of having children; you spin the wheel, what will the outcome be? Will it be a boy or a girl? I am the father of three sons, all three gifted in different areas. I would have given my "eye teeth" for a girl, but it simply was not to be; God gave me three sons, for which I am very thankful.