Density & Buoyancy

What causes something to sink or float?