A dashcam is a compact video camera mounted on a vehicle's dashboard or windshield to continuously record the view through the front or rear windows. It is commonly used for security, evidence in case of accidents, and monitoring driving behavior.