We don't know that fields are real. We just know that the mathematical language of fields is the most convenient and concise to describe the experimental results we see.
As a starting pint, the magnetic field can be shown to be real with metal filings. Whether fields are the fundamental building block is another matter.