Rails are horizontal fence parts that run between the posts and are attached to them. They are usually made of wood, vinyl or metal and provide support to the boards or pickets that make the fence more attractive. Rails can be placed either on the inside or outside of the fence posts and should be evenly spaced to give the fence a uniform appearance. They also play a vital role in preventing sagging of the fence over time.