A pillow is a soft, rectangular or square cushion used to support the head and neck during sleep or rest. It is typically filled with a soft material such as feathers, down, synthetic fibers, or memory foam, and enclosed in a fabric cover.