The green channel is for passengers with nothing to declare, and most people walk straight through, though officers can still stop anyone for a spot check or x-ray. The red channel is where you go if you're carrying goods above the duty-free allowance, restricted items, commercial quantities, or cash above the reporting threshold. There you'll show the items, answer questions about their value and purpose, and pay any duty owed.
The real risk is picking green when you should have gone red. If you're caught in the green channel with undeclared dutiable goods, it's treated as a false declaration rather than an honest mistake, which can mean fines, seizure of the items, and a record that gets you flagged on future trips.
When in doubt, go red. Officers are generally reasonable with people who declare voluntarily, and the worst case is usually just paying the duty. Rules and thresholds vary by country, so check the customs authority's site before you fly.