On doit is similar to il faut. But the latter is a bit more versatile and sounds more elegant. However, in many contexts you can use either. I do find the lesson quite exhaustive on this subject.
-- Chris (not a native speaker).
You might also want to look at this lesson:
Sign in to submit your answer
Don't have an account yet? Join today
Test your French to the CEFR standard