It prevents the electric circuits and appliances from possible damage by stopping the flow of unduly high electric current.
Here,P=2000W,V=220V
Using
P = Vl
I=P/V=2000/220=9.09
Since the current flowing through the oven is larger than the fuse rating (5A). the fuse wire melts and breaks the circuit, thus protecting the circuit