How does this signal inverter works?
The reason this circuit acts as an inverter is because in the on state the transistor becomes effectively a short to ground causing the voltage Vo to drop to almost zero.

The resistor R1 has two tasks: keeping the voltage in a defined state when the transistor is off (acting as a pull-up resistor) and limiting the short-circuit current in the transistor ON state.