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 but it is 1 block high instead of a fence's height which is 1.5 blocks high. When placed without anything on the sides of it, they will appear in the shape of a from the top, but when something is placed on the sides of it, it will become flat or into a  shape or a  shape depending on the items surrounding it.

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.
 * Iron bars will not connect to Glass panes, when laid next to each other they will create an illusion of a 1 block area where a player is easily able to fall, jump, or walk into while still blocking rain, water, etc. It is also useful to lay a painting over this area.
 * 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.
 * Like glass, iron bars block the vision of Mobs, except Spiders and Cave Spiders.
 * The player can not 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 Panes.
 * If the player builds a 3x3x3 block out of iron bars encasing a TNT block, only the iron bars will be destroyed.