Allí, aquí, ahí; allá and acá

1 In America, acá and allá are more frequently used than in Spain. Acá and aquí refer to a near place or to the place where we are.

Aquí están tus zapatillas.

Aquí hay corriente de aire.

Allá and allí refer to a far place or, in contrast to aquí, place where we are not.

Allí no vive nadie.

Allí, en mi país hace más calor que aquí.

Ahí refers to a near place, but closer to the interlocutor.

Coge las llaves, está ahí, a tu derecha.

Me caí ahí, donde tú estás ahora.

Es decir, existe una correspondendia entre advervios de lugar y adjetivos demostrativos.

Adverbs Demonstrative adjectives
Closeness to the speaker Aquí, acá Este, esta, estos, estas
Distance from the speaker Allí, allá Aquel, aquella, aquellos, aquellas
Closeness to the interlocutor Ahí Ese, esa, esos, esas

2 The five adverbs may combine with prepositions to point adirection.

De aquí a la ventana hay tres metros.

Pasa para allá.

Lo han visto por allí.

Vete un poco hacia allí.

3 Acá and allá admit degrees, i.e. maybe used with adverbs as más or tan.

Más allá de las montañas hay un río.

No lo pongas tan allá.

4 Allá and allí may have value temporary.

Allá por los años treinta encontraron a un hombre sin cabeza en la sala de un cine. (Allá = hace tiempo)