Provident fund is a scheme by the government of India in which a portion of an employee's salary is deducted, and an amount equal to the employee's deducted salary is added to it by the employer, kept in a PF account. This amount accumulates monthly. A yearly 9.5% compound interest is paid on this amount. The total amount, along with the interest, is given back to the employee at the time of retirement or resignation. The employee can also withdraw a non-refundable amount for specific purposes such as children's education or marriage, purchasing immovable property, or seeking treatment for illness.
These facilities are not provided by banks, even though the schemes are different. If you keep the same amount in a bank, the employer's contribution will not be present, and the interest rate is also higher compared to bank interests in PF. For further details, you can search on Google.