U-value measures the rate of heat loss through a window, while R-value measures the resistance of a material to heat flow. U-value and R-value are both important in determining the energy efficiency of a building.