Here's something that I stumbled across which really neatly sets out the difference between key, fill and rim lights.

http://www.andrew-whitehurst.net/3point.html