Solar panels collect sunlight and convert it to electrical energy, which is sent to power trackers to adjust the voltage for the car's systems. The energy is then stored in batteries until the motor controller directs it to power the motor based on throttle input, turning the wheels. If no sunlight is available, emergency batteries serve as a backup power source to keep the car running.