A window balance is a device that uses a spring to counterbalance a window and keep it in place. When you open a window, the spring contracts to hold it in the desired position, and when you close it, the spring extends to assist in closing it effortlessly.