Security at airports check if there is anything harmful that people are carrying and people that are carrying food and stuff without licence or certificate. Advanced imaging technology safely screens passengers without physical contact for metallic and non-metallic threats, including weapons and explosives, which may be concealed under clothing , bags and sniffing dogs to sniff for drugs.
There are checks were they have this machine and it scans the body for weapons to. And this big arch that is a form of technology that scans the full body to check as well if there is you will be sentenced and they make you pay fines or they give a warning.
People at air ports get also checked for passports and other important documents before boarding the plane checking if they got the tickets , papers , and if needed Covid scan barcode. Normal circumstances should process you through security within 20 minutes (from entering the line to putting your shoes back on). If you’re flying out of a smaller airport, it’s not unreasonable to expect even a fraction of that time. This is how long people take to pass air port security.
One of the most common airport security mistakes is to take out all your electronic devices to be scanned separately. You don’t need to do this. According only electronics larger than a cell phone must be removed from their carrying cases and X-rayed separately.