what exactly do these do?
These are used largely as an alternative too mic up amplifiers, used in recording and live sound.
Where'd you hear DI box from?
The speakers out of which ever desk/interface you sent it too.
It stands for "direct input" and it lets you send guitar or bass straight to the mixing board. Usually it includes some kind of speaker EQ response sim.