Dialect points to its own inguage, as if it were a language within another, a branch of a particular language. Example: English Language; It differs from the form spoken by people of different social classes, it is the same language, but it is possible that the "slang" spoken by certain groups make it impossible or difficult to understand what is being said.
The accent is the "musical" form of the language. The Portuguese language, for example, is "sung" in different ways by speakers from different regions of the country. People from North and Northeast Brazil have a slower speaking rate, while people from the Midwest speak faster.
The definition of accents and dialects used most often by people who work with language is that accents are just one part of a dialect. An accent refers to how people pronounce words, whereas a dialect is all-encompassing. A dialect includes the pronunciations, grammar and vocabulary that people use within a group.