Markets include stock markets like the New York Stock Exchange, commodities markets like the Chicago Mercantile, but also farmer's markets, auction markets like Christie's or Sotheby's (made famous in movies by people scratching their noses and inadvertently purchasing a Ming vase) or eBay, or more ephemeral markets, such as the market for music CDs in your neighborhood.
In addition, goods and services (which are scarce resources) are allocated by governments, using taxation as a means of acquiring the items. Governments may be controlled by a political process, and the study of allocation by the politics, which is known as political economy, is a significant branch of economics. Goods are allocated by certain means, like theft, deemed illegal by the government, and such allocation methods nevertheless fall within the domain of economic analysis; the market for marijuana remains vibrant despite interdiction by the governments of most nations. Other allocation methods include gifts and charity, lotteries and gambling, and cooperative societies and clubs, all of which are studied by economists.