Check out example codes for "What are the components of the environment? Explain it along with the examples.". It will help you in understanding the concepts better.

Code Example 1

Environment mainly consists of atmosphere, hydrosphere, lithosphere and 
biosphere.
But it can be roughly divided into two 
types such as (a) Micro environment and 
(b) Macro environment. It can also be divided into two other types such as 
(c) Physical and (d) biotic environment

Learn ReactJs, React Native from akashmittal.com