A carpet is a textile floor covering typically consisting of an upper layer of pile attached to a backing.