The verdict
Same lats, same joint actions, both compound pulls, both listed at beginner level. Both work through shoulder adduction and elbow flexion, and both list the biceps as a secondary muscle. The difference is the load. The lat pulldown hangs on a cable stack, so you set the weight in small steps and train the same muscles before you can pull your own bodyweight up; the record suits it to beginners who cannot do pull-ups yet, and the pull-up regression points straight to it. The chin-up is the bodyweight lift: the record calls it the classic bodyweight test of pulling strength, and its underhand grip puts the biceps in a stronger line. The pulldown also lists the rear delts among its secondary muscles, which the chin-up does not. Use the pulldown to build up to the chin-up, and to add volume after it.
Muscles, equipment, force and level from the PasteLift exercise library records for the lat pulldown and the chin-up. Sets and reps from the ACSM position stand, cited below.