Our memories are not perfect recordings of the past. But instead are prone to error, misinformation, and bias. As part of my PhD, I am identifying what memories are most susceptible to such errors. By combining behavioral experiments, neuroimaging, and artificial neural networks, I show that similar memory errors exist in the human brain and in AI. I also find that these biases are not random mistakes, but are a product of an optimal learning system.