trajectory

How does the Moon's gravity influence the trajectory of spacecraft like Chandrayaan-3?

I want to understand the scientific principles behind how the Moon can alter the path or orbit of a