How to close the inside face of a gear
If the rings on the top and bottom have the same number of vertices, you can select the top and bottom edges, then press the space bar and type bridge edge loops: