CNBC Pro

Check out the best- and worst-performing clean energy funds of 2021

PALM SPRINGS, CA - MARCH 27: Giant wind turbines are powered by strong winds in front of solar panels on March 27, 2013 in Palm Springs, California. According to reports, California continues to lead the nation in green technology and has the lowest greenhouse gas emissions per capita, even with a growing economy and population. (Photo by Kevork Djansezian/Getty Images)
Kevork Djansezian | Getty Images News | Getty Images

Clean energy stocks came under pressure during 2021 as policy uncertainty, supply chain issues and concerns over stretched valuations weighed on the sector. But some areas within the renewable energy ecosystem still managed to not only register gains for the year but handily outperform the broader market.

Here's a list of how some exchange-traded funds performed, ranked from best to worst, and the stocks they own:

More In Future of Energy

CNBC ProFirst Solar jumps as Piper Sandler upgrades the stock, cites strong volume and pricing
CNBC ProWells Fargo double downgrades Ford and GM, says 2022 could be 'peak profits' for legacy automakers
CNBC ProRaymond James upgrades Clean Energy Fuel Corp., says alternative fuels could bounce back