A function/process whose inner workings are unknown, but have known inputs and outputs.

A black box is a function or process where the inputs and outputs are known, but the inner workings are not visible (or known).

Examples:

  • your computer
  • A function out of the lodash JavaScript library
  • That thing X person does at work

Source