The Mozilla Foundation owns the Mozilla Corporation. The Corporation hires the engineering staff that does the bulk of the work to develop Firefox (the rest are community/volunteer contributors and partners.)