The HTML5 <bdi> tag denotes Bi-Directional Isolation.
This tells the browser to treat a particular text in isolation with its nearby surrounding texts.
Suppose, you want to insert a text dynamically and you do not know the direction of the text, then it is a good idea to code the text inside the <bdi> tag.
In short, this will format the text in different direction.