What is the difference between 1-tailed and 2-tailed tests

What is the difference between 1-tailed and 2-tailed tests? When should we use a one-tailed test or a two-tailed test? Please give concrete examples.

250-300 words with APA reference please