Sketches behaving differently when the SERIAL MONITOR is activie

When the board is not connected to the computer, how is it powered?