Simple. You download the client. Run it on your computer - it runs at low priority when your computer is idle. It downloads work units from a central server, completes them and then uploads them.
Distributed computing. 1,000's of computers make short work of complex computations.