To earn and store gold and elixir, players of Clash of Clans must build gold mines and gold storages and elixir collectors and elixir storages, respectively.