Help for a word

Today i started to learn russian language,so I downloaded duolingo and started to learn this language. When I finished the first lesson I drew a list where I put some words and their translation. Then I went on the translator to see the translation of "no" and it showed the words "не" and "нет". I want to ask what's the difference between this 2 words?