Dhaka, formerly known as Dacca, is the capital and largest city of Bangladesh. It is one of the largest and most densely populated cities in the world with a density of 23,234 people per square kilometer within a total area of approximately 300 square kilometers.