There are three main types of buildings in Clash of Clans: Defenses, Army Buildings, and Resources Buildings. Defenses are defending your village during attacks. Army Buildings determine your offensive power. Resources Buildings are taking care of your goods.
You have Town Hall and Clan Castle on top of that.