A graphics processing unit is a specialized electronic circuit that performs rapid mathematical calculations for rendering images.