buoyancy is the tendency to float in a liquid or to rise in a gas