What might happen t an organism if its habitat could not meet one of its needs?

It may have to seek another habitat more suitable or death may be the result.