An electrical system in a truck typically includes components such as the battery, alternator, starter motor, fuse box, and various sensors and switches that allow the engine and other systems to function properly. The battery provides power to the starter motor, which is used to start the engine, while the alternator generates power to recharge the battery and power the truck's electrical systems while the engine is running.