Is a trap necessary under the sink?

You need a trap to shut off odor (sewer gas) from coming into the kitchen and bath area.