The article describes the definitions and different approaches to the category of "digital economy". Also, the essence, classification, development trends, advantages and disadvantages of electronic commerce, which is part of the digital economy, are shown on the example of foreign countries. Proposals and recommendations for the development of electronic commerce in Uzbekistan have been developed (PDF) Digital economy and the role of electronic commerce in it.