Self-rising and all-purpose are two types of flour. All-purpose flour is a type of flour that can be used in different ways. The word "all-purpose" shows that this type of flour can be used for a variety of things. All-purpose flour is known for its gluten component. Bleach, unbleached, and enriched are some of the ways all-purpose flour can be grouped into.
The percentage of gluten in these three differs. Self-rising flour, on the other hand, is produced by the addition of baking powder, salt to plain flower. The addition of baking powder and salt causes this type of flour to rise. You don't need to add baking powder and any other leavening agent when using self-rising flour for different flour recipes.
In contrast, all-purpose flour does not contain baking powder and salt, and that is why it doesn't rise on its own except you add baking powder and salt to it. Unlike all-purpose flour, self-rising flour has lower protein content.