Look at this description. It's excellent.
(Very) Short version:
- The input of every transaction is output of an older transaction.
txid
Is the Transaction ID of a transaction you received (containing at least the value, you want to spend).vout
is the index of your address in the originaltxid
.
You can look at some actual transactions here: https://blockchain.info/