Does a shower waste need a trap. But what exactly is a shower trap for and ...

Does a shower waste need a trap.  But what exactly is a shower trap for and ...Does a shower waste need a trap.  But what exactly is a shower trap for and ...