Adding on a bit more:
BSS: Battle Stadium Singles, the official singles format that can be played in official games
ND: National Dex, which brings back "gone" mechanics, such as Megas and Z-Moves
D<something>: Doubles of that format (For example, DOU stands for Doubles OU, DUU is Doubles UU, and so on)
LC: Little Cup, where only Pokemon with an evolution can be used at level 5
All of the above except for BSS are unofficial formats