The flashings, is the area on your roof where a thine sheet of metal covers the overlapping areas, often at the chimney. This is then sealed with a high-quality, industrial strength caulk.
Overtime this caulk can become loose and rainwater can seep in. It’s important that you regularly check your flashings and get these repaired as soon as possible to avoid further issues and complications.