when to use dig and du

this may seem (and probably is) a really stupid question but im still curious. Most translators i use when looking for specific phrases seem to switch between dig and du.

Is it a context thing? Is it interchangeable? If they are used for different purposes, what are they?

Again,really sorry for the stupid question but it had to be asked.