In the engine compartment of a Mazda MX-5 NA (1989–1997), the battery serves as the foundation of the car’s electrical system. Power is supplied via battery cables to the starter motor, lighting, and other systems. The battery is securely held in place with various clamps and brackets to prevent it from moving while the car is in motion. This power is then distributed to the various systems via the wiring harness and electrical connections in the car’s engine compartment.