The InvenSense MPU-6050 sensor contains a MEMS accelerometer and a MEMS gyro in a single chip. It is very accurate, as it contains 16-bits analog to digital conversion hardware for each channel. Therefor it captures the x, y, and z channel at the same time. The sensor uses the I2C-bus to interface with the Arduino.
See an example project with processing & Arduino:
|Gyro Range||from ±250, ±500, ±1000 and ±2000dps|
|Accelerometer range||from ±2g, ±4g, ±8g and ±16g|