Not every living thing falls into those categories. The overwhelming number of living things do not. That would include single celled organisms, many plants, many fish that switch back and forth, and quite a few humans, who are born with mixed sexual organs and/or chromosomes.