The Role of Biases in Human and Artificial Intelligence