Regions of the African Union
The member states of the African Union (AU) are divided into five geographical regions. When a principal organ of the United Nations allocates a certain number of seats to the African Group, such as on the UN Security Council or the United Nations Economic and Social Council (ECOSOC), the African Union distributes these seats based on these geographical regions (however, even though Morocco was not a member of the African Union between 1984-2017, it was still eligible to be picked).
Source: Wikipedia — Regions of the African Union (CC BY-SA 4.0)