The spikes at the base of shoes acts as a rough surface and increase the friction between the shoes and the ground.
Spikes help in interlocking between the shoe surface and the ground which provides a strong grip to the athletes. This helps the athletes to run with more speed without slipping.