Foundation is one of the most important parts of the structure. Foundation means the structure which transfers the load from…