A chimney cap protects a roof from water damage, debris, and unwanted animals. It also prevents sparks from leaving the chimney and igniting nearby combustibles like rooftops or surrounding trees.