Normally? The only program I use regularly which needs function keys is htop. The only other I can think of is gitk, and I try to avoid that thing.
MacOS/OSX doesn't really have a history of using function keys, so pretty much the only software which does is stuff which was "ported" from other unices where relying on function keys is more standard.
Xcode (a macOS exclusive) uses function keys by default (for debugging). Cross-platform apps (not just ports) very commonly use F keys (eg. JetBrains stuff).
MacOS/OSX doesn't really have a history of using function keys, so pretty much the only software which does is stuff which was "ported" from other unices where relying on function keys is more standard.