Its accessories include a light bulb mounted in a reflector, a transparent cover (sometimes combined with a lens) to protect the light source and reflector, a battery, and a switch. These are supported and protected by a case.
A flashlight (sometimes called a torch in Commonwealth English) is a portable hand-held electric light. Usually, the source of the light is a small incandescent light bulb or light-emitting diode (LED).
A headlamp is a lamp attached to the front of a vehicle to light the road ahead. While it is common for the term headlight to be used interchangeably in informal discussion, headlamp is the term for the device itself, while headlight properly refers to the beam of light produced and distributed by the device.