Pcator,
Yes, there is a holding tank for the head(toilet). The grey water is drained(sink) or pumped(shower) over the side.
This is legal in salt water in the US and Canada. For fresh water boating, check with those in charge of the fresh water lake or river.