The function selectively assigns higher values to words related to celestial objects or natural phenomena, while assigning lower values to words associated with other concepts such as animals or non-natural objects.

Please note that this description is based on the tests conducted so far and may need further verification with additional tests to ensure its accuracy.