What are the 4 main parts of a habitat?

The four ways species survive (hint hint) is food ,water ,shelter , and space <3