Other structures, such as the spawning pool or roach warren, only give you the ability to morph larva into units.
The more hatcheries you have, the more larva you have available, and the more units you can produce. Hatcheries spawn larvae over time, and these larvae morph into various zerg units. The zerg produce their workers and units from the same place: a structure called a hatchery.