Baggage scanner is used to scan and inspect the contents of luggage, backpacks, and other bags for security purposes. It works by using x-ray technology to create an image of the items inside the bag, which can be examined by a security officer to identify any potential threats or prohibited items.