Observer

Observers are blocks that emits a redstone signal when an adjacent block is updated.

Usage
Observers have two ends. One end observes the block or the space directly facing it, waiting for a block to be placed or broken, or a change in block state there. The other end emits a redstone signal. When placed, the end which emits a redstone signal is the end that faces the player.