It should have a definite depth so that structure may not be damaged due to expansion or compression of soil volume beneath the foundation. Foundation should be strong and designed with safety factor so that structure may not be damaged due to unexpected effects.