Getting values from an ACCELEROMETER, not a gyroscope

I am trying to get information about the movement of the phone, but I have only found how to get the rotation of the phone. People often confuse the accelerometer and gyroscope, which greatly complicates the search. How do I get information about MOVING the phone?
I use Unreal Engine 5.1.1