Electromagnetic energy of the frequency used for radar is unaffected by darkness, and also penetrates weather to some degree, depending on frequency. It permits radar systems to determine the position of ships, planes, and land masses, that are invisible to the naked eye because of distance, darkness, or weather.