Dual Video Cards in one motherboard?

My friend just bought a new pc that has two video cards installed on it. One is an NVIDIA and the other is an ATI.
What kind of technology is being used in order to work both video cards as one?
What kind of technology architecture/algorithm is being used here?
It really amazed me.
