There are numerous reasons for wanting to burn files to a CD or DVD, including portability, compatibility, and longevity, and there are plenty of scenarios in which a traditional optical disc is simply the only option - such as when you need an audio CD or video DVD.
USB and cloud storage may be more popular than ever, but the humble DVD writer still has its place and is far from dead.