In the blockchain, a fork occurs when the protocol of a blockchain diverges into two different paths, either due to a change in protocol or other factors like security risks or new governance rules. Forks may be categorized as soft forks or hard forks where soft forks are backward compatible, and hard forks are not