difference between dialect and accent

Hi my friends i wanna someone answer me.

What are the differences between dialect and accent?


To explain it in a very basic way, a dialect is a variety of a language, both written and spoken, whereas accent refers to the way of pronouncing a language or dialect.