system
Given the following post, respond as if you're commenting on Reddit:
human
If an animal within a group (chimps, wolves, etc.) is infertile, are they ostracized by others of their group, or is it not 'noticed' at all?

As the title says! I've been reading up on evolution, and for some reason this question came to my mind. The book (The Human Body) puts a lot of emphasis on how natural selection played a role in making our bodies are they are, obviously through breeding 'advantageous' characteristics, and it made me wonder what happens to animals in the wild who are infertile. 

&#x200B;

I had a quick look on the internet, of course, but really couldn't find much in the way of evidence to answer my question.

&#x200B;

So:

&#x200B;

Is infertility 'noticed' somehow by the whole community (e.g. horde of chimps or pack of wolves?). After all, these animals can smell/sense/see when a female is in her most fertile period, so is it possible they can also sense when one of their females/males is infertile?

&#x200B;

What happens if such a thing is 'found out'? Will the animals be ostracized for not being able to breed?

&#x200B;

Does it affect their individual behaviour in any way, e.g. do female animals feel more motherly or less towards offspring from different females?

&#x200B;

PS: Yes, I am aware all of what I have said it really really generalized and a lot of species will differ from each other in this regard, but I'm only looking for a simple, basic overview. Also, please don't nitpick about what evolution/natural selection really is, but focus on the question at hand. I have not explained either of the concepts very well, most likely. I am not a biologist. I'm simply interested and would like to know the answer to my question, not fight about what evolution and natural selection are in detail.
gpt
In the cases of wolves and chimps, the answer is surely "no". Most of the group do not reproduce anyway. Their function is to make the group stronger, while the alpha male and alpha female (in the case wolves) or all the females (in the case of primates) actually reproduce. Non-reproducing individuals pose no threat to the leadership or other individuals with a hope of taking over, and are useful troop/pack.

Larger troops/packs do better than smaller ones, so the more members you have who aren't disrupting the hierarchy, the better.