Dive into ELF files using readelf command

readelf is a Linux command line utility which can read and understand the format of the ELF files, be it object files, executable etc. It has the capability of displaying all sorts of information related to ELF format like the section headers, the sections, or the symbols, etc. One may wonder, why a programmer would we ever need to know such kind of details?