A state is defined as a community of people occupying a definite territory with its own government that the people obey. It has three main elements - people, territory, and government. The people are the population living within the state's demarcated territory. The government is the agency that formulates, expresses, and carries out the will of the state and has sovereignty, or supreme power over the people in its territory as well as freedom from external control by other states.