Canada is a country occupying most of the northern portion of North America, and is the world's second largest country in total area. A technologically advanced and industrialized nation, Canada is a net exporter of energy because of its large fossil fuel deposits, nuclear energy generation, and hydroelectric power capacity. Its diversified economy relies heavily on an abundance of natural resources and trade, particularly with the United States, with which Canada has had a long and complex relationship.