graffiti, for the most part, is art used just for vandalism, and a lot of the time have gang relations.
street art, on the other hand, is usually used as an attempt to have their work communicate with everyday people about socially relevant themes in ways that are informed by aesthetic values without being imprisoned by them.
John Fekner said "Street art is all art on the street that's not graffiti"