Both sensors measure rate of change; they just measure the rate of change for different things. In practice, that means that an accelerometer will measure the directional movement of a device but ...