Does ecosystem mean habitat?

kind of, an ecosystem includes what eats what and stuff like that where a habitat is just where things live