Depending on the aviation rules a pilot is flying under they will use their eyesight to 'See & Avoid' other aircraft when flying under Visual Flight Rules, or when flying under Instrument Flight Rules they will be guided by an air traffic controller to ensure traffic separation when unable to see.