the same way you do.
They use their eyes.
Birds is one of them
Many birds and fish have eyes on the sides of their heads so they can see in almost all directions and look for predators. Predator animals usually have eyes facing forward so they can track and catch prey easily.
Birds avoid animals with large eyes on the front of their heads because they see them as predators. This is frightening to the bird, so they stay away. Animals with smaller eyes to the side, rather than front, are not thought of as predators by the birds.
All animals with eyes, including humans can see "black and white," or more specifically "light and dark." Birds can also see color. Birds have four types of color receptors in their eyes (humans have three) and can not only see all the colors we can see - they can see more, including partway into the ultra-violet range of the spectrum.
so that they can see if there are any preditors coming
No. They are nocturnal so probably have good eye sight.
Many birds have their eyes on the sides of their head (owls are an exception). In order to focus on objects in front of them, they have to turn their heads.
Talons and sharp eyes to see their prey
they have 2 eyes
No, the color of the eyes does not affect vision. The ability to see clearly is determined by the structure of the eye, the health of the eye, and any corrective measures like glasses or contact lenses. Brown eyes are just a variation in eye color and do not impact vision.
Not all birds have their eyes on the side (eg owls, eagles etc) don't. Those birds which hunt for their food have eyes that are front facing to give them stereo (3D) vision. However those birds which are hunted (prey) (eg Ducks, songbirds etc) have eyes on the side of their heads so that they can see all round themselves to spot hunters sneaking up on them. They do this at the expense of stereo vision. The same is true of mammals, hunters have stereo vision and prey (eg horses) have eyes more on the side.