Shields protect your city.

Each shield blocks one attack. 

You can carry up to 3 shields, and any extras are converted into Gold. 

If someone attacks your shielded city, their attack fails, and your city is protected.