Yes, Demo trading is an important factor for beginners to learn how the live market trades work and to understand the risk involved in it.
Every beginner should undergo demo trading before entering live trading to minimize the chances of loss and risks.