Difference between folder and package

in eclipse I create folder instead of package what is the difference

functionally there is no difference, but a package is used to avoid name collision when we use the same class name as of others.