What is the difference between "display:inline-block" and "float:left"?

What is the difference between “display:inline-block” and “float:left”? it seems both they can make block position in a line. thanks:grinning: