In the case of a tub close to a stack, its drain can empty into a pipe that also serves as a vent. In some cases, local codes allow for other venting strategies. Common alternatives include ...
Local codes may call for a 4-inch main drain, and some plumbers prefer to run larger vent pipes. Cast-iron drainpipe is coming back in some areas because it's quieter than plastic pipe.