As long as it falls within the airline’s size restrictions, a backpack is considered an item of carry-on luggage.