Lets look at the equation first. We will rewrite the equation like this.
$$W = Q_{in} - Q_{in}\dfrac{T_O}{T_R}$$
In the limit where $$\lim_{T_R\to\infty}\dfrac{T_O}{T_R} = 0$$
We can observe that $$W = Q_{in}$$
and when $T_O = T_R$ then $$W = Q_{in} - Q_{in} = 0$$
Which highlights the ratio as a type of hyperbolic phase factor that determines the amount of work that can be extracted from an amount of heat based on the temperature reservoir compared to some ground state temperature.
When we discuss the Carnot cycle, we need to introduce the concept of entropy, and see that work out of the system is an area bounded by a curve in the T-S plane (which for simplicity is usually shown as a square). This situation can be described with equation for work as:
$$W=(T_R - T_O)(S_B - S_A) = \Delta T\Delta S$$
This equation makes it clear that work can only be extracted when there is a change in entropy which is the thermal energy per unit temperature unavailable for work. So the temperature ratio is a factor that informs us how much of the input heat is unavailable for work. What entropy is was not well defined for many years until Boltzmann was able to provide a microscopic interpretation.
Boltzmann understood entropy as being related to the number of configurations atoms could find themselves in. When there are more possible configurations, the entropy is high. What happens in the real world is that the number of possible configurations associated with the background is enormous, so while some heat is converted to work, another portion of the heat is absorbed by the environment to energize some of the environmental configurations. It is essentially a tax we pay in order to do useful work. What is really happening is that the system is trying to reach equilibrium, and in fact the heat that isn't used for work is actually heating the environment directly (and in small closed system, the environment would actually be increasing in temp, we don't notice the effect because the environment is so large in comparison to the systems we deal with).