ambiance vs environment

ambiance

noun
  • A particular mood or atmosphere of an environment or surrounding influence. 

  • A secondary color of a polygon that becomes more pronounced with shading. 

environment

noun
  • A particular political or social setting, arena or condition. 

  • The set of variables and their values in a namespace that an operating system associates with a process. 

  • The surroundings of, and influences on, a particular item of interest. 

  • All the elements that affect a system or its inputs and outputs. 

  • The environment of a function at a point during the execution of a program is the set of identifiers in the function's scope and their bindings at that point. 

  • The natural world or ecosystem. 

  • The software and/or hardware existing on any particular computer system. 

How often have the words ambiance and environment occurred in a corpus of books? (source: Google Ngram Viewer )