how do we see upright if the images produced by our eyes are vertically inverted ( i know our brain does something to fix it... but not sure exactly what)

Merci