Ramps are used so you can walk up them and get off the ground and shoot people from above and have some protection.
Good examples of using ramps would be if you wanna build to the sky you would use ramps because they take you straight up at a 45 degree angle.
They can be built almost anywhere, if youre trying to go down a mountain you can rotate your ramp and it'll build ramps going downwards so you can run down them.
When reviving a teammate you're supposed to build wallas and a roof around them, but now you build a ramp inside of the box too so theres another wall after your front wall the enemy has to shoot through.