Is the district a part of a state?

No, it is a territory the states have relinquished for the purpose of it being the seat of the federal government.

#POW150