Iron Bars

Iron Bars were added in the 1.8 "Adventure" update. They are a type of block that occurs naturally in strongholds and in NPC villages. They serve a similar purpose to fences.

The iron bars can be placed in much the same way as fences or glass panes.

History
On July 11th 2011, Notch revealed two new screenshots of a stronghold (in two different brightness settings) where the bars can be clearly seen alongside other common stronghold blocks. The lighting differences have been explained a bit (though not necessarily completely correct) by a user on the forums.

Trivia

 * A 2x2 area made of the Iron bars can make a hole big enough for the player to fit through, but not rain, water, etc. this can be used as an easy entrance for an underwater house, and even an exit if pistons are used. Glass panes work in the same way.
 * If a sign or a painting is placed on the iron bars, it appears to float in the air.
 * Iron Bars have the same placement rules as Glass Panes. When Iron Bars are placed singly it forms a cross shape, similar to how glass panes do.
 * Since Iron Bars are not destroyed by a Ghast's fireball, and since they block a Ghast's line of sight, Iron Bars can be used as "Ghast-proof" walls for small enclosed roads through the Nether.
 * Iron Bars also prevent fire from spreading, i.e. surrounding a fire with iron bars will prevent wooden items from being lit aflame.
 * Despite apparently being thin enough to do so, Iron Bars do NOT let a ghast's explosion touch the block beneath them as long as the block is protected from other angles of the explosion affecting it. This, in theory, means you should be able to use Iron bars and sticky pistons to make openable/closable shutters
 * If an iron bar is connected to a block and a rail is placed on the block, the top texture of the iron bar disappears.
 * If placed on top of a single cactus, only the corners can damage.
 * When the first screenshot was revealed they were considered to be dead sugar cane
 * Like glass, iron bars block the vision of Mobs, except Spiders and Zombies.
 * You can't shoot arrows through iron bars. Therefore they can't be used to cover arrow slits. This is because iron bars are considered a full block when connected to another one, similar to Glass

Bugs

 * The iron bars do not connect to sticky pistons like they do with walls.