How does a Car Transmission Work?

When you put your vehicle into a gear and hit the gas pedal it turns the crankshaft, in turn that turns the transmission. Were the gears are and the power goes out the the wheels to make you move.