atmosphere vs environment

atmosphere

noun
  • The conditions (such as music, illumination etc.) that can influence the mood felt in an environment. 

  • The gases surrounding the Earth or any astronomical body. 

  • Extras in a scene who have no spoken lines. 

  • The apparent mood felt in an environment. 

  • A unit of measurement for pressure equal to 101325 Pa (symbol: atm) 

  • The air in a particular place. 

environment

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

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

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

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

  • 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 atmosphere and environment occurred in a corpus of books? (source: Google Ngram Viewer )