All buildings consume a certain amount of electricity, specified in the characteristics window. If your city does not generate enough electricity, you will not able to erect new buildings.