What is an alternative to a p trap?

There is no alternative that I have ever seen.