A sub-genre is a more specific categorization within a Genre.
This can also be considered a slightly redundant term, since it’s basically just a genre nested within a genre. But it’s important to keep in mind that a sub-genre should always be classifiable as its parent genre…it doesn’t work the other way.
So while all cyberpunk is sci-fi, not all sci-fi is cyberpunk.