On the surface, deadlifts and good mornings are very similar exercises. They're both compound exercises which use a hip hinge, and they target similar muscles.
The main difference lies with with the motion each exercise uses. The deadlift moves up and down motion, while good mornings hinge forward. The bar placement also differs between the two. Both of these factors mean each exercise activates the muscles in different ways.