The words male and female are used as classifications (such as in anthropology, or medicine), and they can be used as adjectives as readily as nouns. The words man and woman are more personal descriptors of individuals.
When using these words to describe the subjects of a scientific study, we might find either of these:
•The control group consisted of 26 female and 18 male patients.
•The control group consisted of 26 women and 18 men.
You are right about how your second example sentence sounds "off", but that's because you've mixed the two words:
•The woman pointed the gun at the man. (sounds normal)
•The female pointed the gun at the man. (sounds awkward)
•The woman pointed the gun at the male. (also sounds awkward)
•The female pointed the gun at the male. (sounds acceptable)
However, context could very well override that general guidance. Some of the sentences I've labeled as awkward may sound funny on their own, but they could be just fine in the middle of a lengthy testimony during a courtroom trial, where a long series of questions has set up a scene - i.e., something like this:
"What did you see in the room?"
"There was a woman with a gun, and two people in the doorway."
"Could you tell if those two people were male or female?"
"Yes."
"And what did you notice?"
"There was one male, and one female."
"And what happened next?"
"The woman pointed the gun at the female."
I think that last sentence reads just fine in that context, because the preceding dialog has made it rather easy to follow along.
1May we know what your native language is, Tom? – Barrie England – 2013-02-01T13:50:36.643
1My native language is Polish – Tom – 2013-02-01T13:54:02.083
Female, used as noun, could result offensive. The Corpus of Contemporary American English has 46 sentences with woman doctor, and 28 sentences with female doctor. – kiamlaluno – 2013-02-01T14:05:35.853
3Something none of the answers have mentioned yet: woman refers to a female human, while female can describe non-humans. – snailplane – 2013-02-01T23:10:53.200
@snailplane But that aspect of it is something obvious that Tom likely already knows. – Kaz – 2013-02-02T03:20:34.663
Male and female can apply to humans or to animals, whereas man and woman are only human. – None – 2015-10-11T02:02:43.070