Django – why if settings.DEBUG used for media files in django?

QuestionsCategory: DjangoDjango – why if settings.DEBUG used for media files in django?
Roboto asked 3 months ago

why if settings.DEBUG used for media files in django?
many places found they are using

if settings.DEBUG
// then load the media files in django

Why they are using this??