Raw JSON from a server is usually minified: no spaces, no line breaks, just data. That's efficient to transmit but painful to read. Formatting (also called pretty-printing or beautifying) re-indents the structure so objects and arrays line up and you can see the shape of the data at a glance.
Well-formatted JSON makes debugging faster, code review easier, and configuration files safe to edit by hand.