Foundation is the base of any structure. Without a firm foundation, the structure cannot stand.…