What is the main difference in the wiring of an electric bulb and a socket for using an electric iron in a domestic electric circuit? What is the reason for this difference?

There is No earth connection for electric bulb but for the electric iron;

The reason for this difference is, earth connection given to socket for electric iron