The main purpose of this legislation, known as the "Keep China Out of Solar Energy Act of 2025," is to prevent the U.S. federal government from purchasing solar panels that are made or assembled in China. This move is aimed at reducing reliance on Chinese manufacturing in the solar energy sector, which is seen as a national security concern. Key provisions of the law include a prohibition on federal funds being used to buy solar panels from companies based in China or under Chinese government control.