You likely trade better on a demo account because you’re not risking real money. You also don’t need to deal with the emotions of volatility and trading losses.