Alliances don't just let you declare war or sign agreements; they also allow for trading between countries. Tap on the menu button in the top left corner, select "trade" and offer your resources to other players. If there is a player willing to trade (indicated by an icon), he will send back things he needs in return. You can also make offers through chat.