Echo shards are obtained by looting ancient city chests in the Deep Dark biome. They are primarily used to craft the Recovery Compass, a unique tool that points to the player's last death location, helping to retrieve lost items.
They are a non-renewable resource, making them valuable for players exploring these structures.