habitat vs locality

habitat

noun
  • A place in which a person lives. 

  • Conditions suitable for an organism or population of organisms to live. 

  • A terrestrial or aquatic area distinguished by geographic, abiotic and biotic features, whether entirely natural or semi-natural. 

  • A place or type of site where an organism or population naturally occurs. 

locality

noun
  • A built-up area, i.e. a city, town or village 

  • Limitation to a county, district, or place. 

  • The fact or quality of having a position in space. 

  • An area or district considered as the site of certain activities; a neighbourhood. 

  • The features or surroundings of a particular place. 

  • The condition of being local. 

  • The situation or position of an object. 

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