To provide grants and loans to HUD-assisted properties to improve energy or water efficiency; enhance indoor air quality or sustainability; implement the use of zero-emission electricity generation, low-emission building materials or processes, energy storage, or building electrification strategies; or make the properties more resilient to climate impacts. The law provides up to $4,000,000,000 in loan authority.