A chimney cap is a covering for the top of your chimney that is designed to keep rain, animals, leaves, and other debris out of your chimney. A cap is usually shaped like a box with a roof-like portion that sits atop metal mesh walls on all four sides. The roof portion keeps out moisture while the mesh still allows for the proper airflow.