Gateway snapshot

This link states that periodic snapshot are taken, can anyone point
out what would be the location of these snapshots? and how these
snapshots could be used to recover a corrupted index?

http://www.elasticsearch.org/guide/reference/api/admin-indices-gateway-snapshot.html

--