Extinction is when the last individual of a species dies.
Habitat is the natural environment of an organism. It is a place where organisms live.
Habitat is a place where organisms can find food, shelter, protection, and partners or mates for reproduction.
Forests or Jungle are habitats of various animals. Oceans and other body of water are habitats of aquatic animals. Even human body serves as a habitat of parasites.