Because there are 4 rocky, terrestrial planets in order as you move away from the sun. The Earth is the third, with Mercury and Venus coming before it, and Mars after it. In order it would like...
because it is the 3rd closest planet from the sun. To closest to farthest from the sun it goes
Mercury Venus Earth
Meaning it is the 3rd "rock" from the sun.