FreeMIDI was a popular virtual studio management application by Mark of the Unicorn (MOTU) for the Classic Mac OS.
It was used to mimic the physical setup of MIDI devices that are connected to the computer and provide applications and the Mac OS a way for referencing them.
[1] OMS by Opcode also performed similar duties.
Under macOS, neither FreeMIDI or OMS are used, as those duties are covered by macOS's included Audio MIDI Setup utility.
For those who still have or use Macs that can only run Classic Mac OS, OMS still exists in select music app archives online.