Extreme temperatures can affect the voltage of a lithium-ion battery. High temperatures can cause an increase in voltage, while low temperatures can lower the voltage. Battery management systems help maintain safe operating temperatures to ensure optimal performance.