In ecosystem, a niche is the sum of all biological and environmental factors which can have an impact on the population. It includes everything and its concept changes with the needs of the living organisms. On the other hand, a habitat is the geographical location where the living organisms live. A niche is for a life time while the habitat of the organisms can change. For example, your niche is Montessori, primary school and high school from your childhood to your adulthood while your habitat is the land where you live.