What actually differentiates a female from a male is not always apparent, and in some cases more a question of definition than anything else. See for example seahorse?.
'Male' and 'female' designate reproductive structures in plants, so the concept is not just limited to animals.