What is the difference between tardive dyskinesthia (TD) and EPS?

Is EPS a milder form of TD or are they two distinct problems.

The definitions seem similar but some drugs used to treat EPS indicate thay can cause TD.