As explained earlier, evolution has "designed"the biological hardware and software, i.e. brain and mind, in such a way that they only favour features that aid survival and reproduction, while optimizing their operations, which are instinctive tendencies offered by the process of natural selection
(more under title Survival and Reproduction - The Human Factor).

While comparing brain and mind to computer hardware and software, please "keep in mind"that the analogies are limited to the function of information processing, as both are fundamentally based on the same, and certain functions that are similar to computer functions, as you will learn further. They are used for easy understanding of mind and brain functions.