Attiny is a microcontroleur that could replace an arduino or lilypad for simple action or to save space make element tiny.

Attiny is like a lilypad, you need to program it using arduino software and the computer and upload the code on it.

To upload the code you need a programmer like this one.

The connection on the attiny are different than the lilypad.