Series connection of socket and switch
In order to use electricity, the safety switch should be connected to the live wire, so it should be connected in series with the electric light.
Parallel connection of socket and switch
In order to make all electrical appliances work independently and not affect each other, electrical appliances and sockets should be connected in parallel.