How does Z-ordering work?

There is this great article on MSDN which explains the z-order for the windows forms controls.