On the oldest of planes, seats were armchairs which stood loosely in the cabin, but movable furniture in the aircraft is a safety hazard, and seats are now fastened to the floor. However, airlines usually want the flexibility to move seats around or remove them, so the seats are attached to rails underneath the floor which run along the aircraft fuselage. If the airline wants to reconfigure the seating, this is a minor operation.