Hay bales are blocks mostly used for crafting. They're also a more efficient way of storing dry grass in a player's inventory. Being a block, they can be placed anywhere in the world.