How is friction small in the bottom bracket of a bike?

The bottom bracket where 3 frame arms meet is supplied with ball or roller bearings which are able to reduce friction very substantially. There are ball or roller bearings also in the gear changing mechanism, in the top and bottom of the "headstock", the front tube into which the handlebar fits, in the pedals, and in the hubs of both wheels.