An excavator is a heavy construction machine used for digging, lifting, and moving large quantities of soil, rocks, or other materials. It typically consists of a boom, bucket, and cab mounted on tracks or wheels, allowing for efficient excavation and earthmoving operations.