Carbon neutrality has become one of the main goals of addressing climate change on a global scale. As an economic means in China, a carbon tax can promote the transformation of energy structures and reduce greenhouse gas emissions by imposing a certain fee on carbon dioxide and other greenhouse gas emissions. This paper studies how to carry out the energy transition and realize the sustainable development of the country. This paper establishes a theoretical framework for carbon neutrality, carbon tax policy, and energy transition, and elaborates on the reasons for energy transition, the impact of energy transition on the market, the path to carbon neutrality, and China's carbon tax policy. Evaluate China's energy consumption structure from economic, environmental and policy perspectives. This article found that the biggest impact on China's energy consumption structure is the industrial growth rate, followed by GDP, and then carbon dioxide emissions. In order to achieve the long-term goal of global carbon neutrality, the government needs to introduce relevant policies.