The answer to 'how does outlet work' is that an electrical outlet is a socket installed in a wall or other surface that allows you to plug in and power electrical devices and appliances. Outlets are connected to your home's electrical wiring system, which carries electricity from the utility company's power lines into your house. When you plug a device into an outlet, the electricity flows from the wiring through the outlet and into the device, powering it.
Outlets come in different types, such as standard 120V outlets or specialized 240V outlets for large appliances. They have safety features like grounding to prevent electric shocks, and circuit breakers to prevent overloads. Using outlets properly and avoiding overloading them is important for home electrical safety.