The inspection activities are for a variety of  to ensure that dutiable merchandise is declared, to seize contraband (such as narcotics and illegal drugs), to detect infringements of patent and copyright laws, and so forth.
The inspection activities are only a 5 minute activity.