Ragtime is a "different" musical genre that made an appearance in the late nineteenth century. It includes elements of rhythms and melodies.
In the late 19th century, major influences in ragtime originated in African American communities, drawing from various musical traditions, including African rhythms and folk music. Interestingly, Scott Joplin is known as the "King of Ragtime," Joplin's compositions, like "Maple Leaf Rag" (1899), brought widespread popularity to the genre. His music featured complex and structured forms.
Ragtime began to gan popularity around the 1900-1920s. Sheet Music Boom was very popular. The rise of the player piano and the popularity of sheet music helped spread ragtime across America. Composers like James Scott and Joseph Lamb contributed significantly to the genre.
Lastly, as jazz began to gain popularity, ragtime's popularity waned. However, many jazz musicians included ragtime elements into their music. Despite its decline, ragtime continued to influence later styles.