Why do we have two eyes for vision and not just one?

We need two eyes because a human being has a horizontal field of view of about 150° with one eye and of about 180° with two eyes. Thus, two eyes provide us wider horizontal field of view.
With one eye, the world looks flat, i.e., two dimensional only. With two eyes, the view is three dimensional, i.e., dimension of depth is added to our view.