Extension cords are a convenient way to extend the reach of an electrical outlet. They are often used for temporary purposes, such as powering tools or appliances in a different room. However, it is important to use extension cords safely to avoid the risk of electrical shock, fire, or other hazards.