Federal funds are balances held in accounts at the Federal Reserve Banks that depository institutions and certain other eligible bodies lend to one another, usually overnight and without collateral, at the federal funds rate. The main entry explains how that rate is targeted and why it matters for the wider economy.
The market grew up because banks were required to hold a minimum level of reserves. A bank with more than it needed lent the surplus for a night to a bank that was short, as part of the interbank market. Trading for that purpose has shrunk. The banking system has held abundant reserves since the 2008 crisis, and the reserve requirement was set to zero in March 2020. Most lending now comes from the Federal Home Loan Banks, which cannot earn interest on reserves and so lend their balances to banks that can.
The volume-weighted median rate on these loans is published each business day as the effective federal funds rate. In payments usage, federal funds also means money that is immediately available on the day of transfer, as distinct from funds that take time to clear.