Use case of Hangfire versus Azure Functions

Hi, I’ve inherited some Windows Service code that needs to be migrated up to Azure. I see that Azure Functions allow you to schedule code. What would be the pros or use case of choosing Hangfire over Azure functions?

Thanks in advance,