Black bears and white-tailed deer are sometimes found in the same habitat, but they occupy different niches.
Which best explains the difference between habitat and niche?