Airlines have strict rules on what items passengers cannot take in their carry-on bags.