How to trim a body with another body

  I have made a body that is overlapping another body, as you can see here:

The body, seen in light blue, continues inside the other body, the circle in light gray. How can i "trim" the light blue body to fit the boundaries of the light gray body? Basically I want to achieve a "trim" like one I would do on a sketch, just in 3D instead of  2D

SolidworksParts And Features