A scriptSig is an input script that unlocks funds commited the refferenced transaction output. It contains one or more signatures and other informatioin that is needed to satisfy spending condition defined in the output.
See also: scriptPubKey
To understand how transactions work on basic technical level, check blog post Types of Bitcoin transactions: Part I, Part 2. More detailed description can be found in Bitcoin Wiki or in Bitcoin.org Developer guide.