The purpose of showing these two videos is to demonstrate a comparison of an animal that is isolated from the environment (the guinea pig) and how this leads to an unawareness of danger and ultimately survival. The mongoose however is aware of its environment and is thus able to protect itself from potential harm.
I believe that in a way, humans are similar. If we live our lives in sheltered worlds that are totally isolated from the real environments we will never know how to deal with danger when we encounter it.