Both use a similar sensor and are compatible with the same DX lenses, but the D5600 has some extra features that make it better overall. These include a more advanced autofocus system, an articulated screen, a mic input, and more wireless connectivity options.