How to underline words in LaTeX

The normal \underline{text} seems pretty bad. It does not break at new line. So I found that we can use a package called “ulem”. This is how to do it:

\usepackage[normalem]{ulem}

and inside the text:

\uline{my underline text}