An electrician installs, maintains, and repairs electrical systems and equipment in various settings, including residential, commercial, and industrial buildings. They work with electrical wiring, lighting, control systems, and other electrical components, ensuring safety and compliance with regulations.