Why do we have solar eclipse.

Whats the meaning of eclipse?Why do we have them,only the world knows?