There are 3 types of foundation.
Raft Foundation : It is known for its load distributing capability. With the usage of this type of foundation the enormous load of the building gets distributed & helps the building stay upright and sturdy. Loads are transferred by raft into the ground.
Pile Foundation : Used for high rise construction. Load of building is distributed to the ground with the help of piles. Transfer the loads into the ground with an Adequate factor of safety.
Combined raft-pile : is the hybrid of 2 foundation. It consists of both the pile and raft foundation. Useful in marshy sandy soil that has low bearing capacity.
Here is a very great video tutorial by a YouTube video up-loader about building foundation drawing learning and understanding.