The truck, which has a range of about 100 kilometers (62 miles), will be used initially to transport components for the production of electric vehicles from the company's logistics center in Dingolfing to its assembly plant in Leipzig.

BMW said the move is part of its plans to "electrify" its entire production process and cut emissions.

The truck, which was developed by German startup e-Force One, is powered by four electric motors that generate a total of 480 kilowatts (652 horsepower).

It can accelerate from 0 to 100 kilometers per hour (0 to 62 miles per hour) in just 30 seconds and has a maximum speed of 80 kilometers per hour (50 miles per hour).

The truck's batteries can be recharged using a rapid-charging system that allows them to be 80 percent charged in just 20 minutes.

BMW is not the only automaker that is testing electric trucks.

Volkswagen, Daimler and Volvo are all working on electric trucks as they seek to cut emissions in the transport sector.