any of the above underwater (making the rail waterlogged).the top of an upside-down slab, upside-down stairs, or trapdoor.the top of any full block (stone, dirt, blocks of gold, glass, etc.), including full-block mechanism components ( command blocks, dispensers, droppers, note blocks, and redstone lamps).To place a rail, use a rail item while pointing at a surface facing the space the rail should occupy.
A sequence of rails (including regular rails, activator rails, detector rails, and powered rails) is called a track. A rail can be used as a minecart track and as a redstone component.