The function is designed to be selective for words related to the concept of animals' habitats, environments, and some animals that are more associated with these environments. Examples of such words include "nest", "bird", "forest", "habitat", and "sanctuary". The function returns higher values for words that better match these concepts.