Cognitive bias is a type of error in thinking or judgement that occurs when our perception of reality is clouded.