Foundations are classified into different types based on the material used and the method of construction. The main types are shallow foundations, which include spread footing and combined footing foundations, and deep foundations, which include pile foundations, caisson foundations, and well foundations. Each foundation type has advantages and limitations depending on the soil type and load intensity of the structure.