If you want to reverse engineer or disassemble programs, magic bytes can teach you a ton about what a file looks like when in a certain format.
https://www.netspi.com/blog/technical/web-application-penetration-testing/magic-bytes-identifying-common-file-formats-at-a-glance/