How come Washington DC is in Virgina?

Washington DC is not in Virginia, it is not in any state. Washington DC is a district of its own.