Celestial mechanics is a branch of astronomy that studies the movements and interactions of celestial bodies. It encompasses the study of planetary orbits, lunar phases, solar and stellar movements, as well as the interactions of other celestial bodies.