EDM (electronic dance music) is a broad term that encompasses a variety of genres and subgenres, such as house, techno, trance, and drum and bass. Dubstep is a subgenre of EDM that is characterized by its heavy basslines and syncopated drum patterns.
It is often characterized by its wobbly, distorted sounds and its use of syncopated rhythms and off-beat drum patterns. While EDM is more focused on creating a danceable atmosphere, dubstep is more focused on creating a dark, intense atmosphere.