gyro sensor to measure angle

The gyro does not measure angles, it measures rate of rotation.

The accelerometer can be used to measure tilt angles, if the sensor is held still. See this overview.

I got really wired acceleration values

You get the internal sensor units for acceleration values. Consult the MPU-6050 data sheet to learn how to convert these internal units to units of m/s^2.