How do bearings work?

A bearing is a device, basically used to carry a kind of load in the form of a weight, to provide the smooth functioning of an application.