What is the function of fuse here
Fuse F2 protects against over-current conditions, which can occur when the voltage is within normal limits. Imagine a short in, say, D2. That short would draw excessive current and blow fuse F2.