WARNING: This page is about a different car, the 2005 Hyundai Accent and 2004 Hyundai Accent. However, it is still accessible from the selected car via links, so may be relevant.
The acceleration sensor is used to sense rough road conditions. The sensor's signal is used by the Engine Control Module (ECM) to prevent wrongful misfire detection.