All 28 teams participating in the Olympic football competition have been slotted into their respective groups.
In the men's competition, Brazil and Germany find themselves in Group D, and Argentina and Spain are also in the same group.
Group G in the women's division pairs four-time world champion USA Women, co-hosts of the next FIFA Women's World Cup Australia and New Zealand, along with Sweden.
The USA will get its chance of exacting revenge on Sweden for that 2016 elimination from Rio on penalties.
Both men's and women's football will play group stages followed by a quarterfinal, semifinal, bronze medal match and the final.
The men's team is usually restricted to picking players which are below the age of 23, with only three overage players permitted.
However, the age bracket was raised for the Tokyo Games in line with the one-year postponement of the event due to the COVID-19 pandemic.