An electrician installs, maintains, and repairs electrical systems and equipment in various settings, including residential, commercial, and industrial buildings. They work with wiring, lighting, control systems, and other electrical components, ensuring safety and adherence to codes. Electricians diagnose problems, repair or replace faulty parts, and may also design and install new electrical systems.