Answer:
Magnetic field
Explanation:
When metal filings are close to a magnetic field, they tend to align with it. In other words, the show the direction of the magnetic field at each point. Even by guessing, there is no electric field around steady magnets, nor the gravitational attraction has nothing to do with that. :)