A bicycle works by utilizing a system of pedals, gears, chains, and wheels. When you pedal the bike, the pedal motion causes the chain to turn the gears, which in turn rotate the wheels. The rotating wheels create momentum, which allows the bicycle to move forward. The handlebars are used to steer the bike in the desired direction. Additionally, the brakes on the bike are used to slow down or stop the bicycle by applying pressure to the wheels.