Why did Ancient Greeks build buildings?

To get to the other side! Nah I'm just messin with ya. They built buildings for the same reason We do: shelter from the elements, protection ect.