What functions does a cell need to perform to survive?