What segments of the population were not considered citizens? What rights and duties did these people have?

Please address all parts of the following question. Use scholary articles that you can access online to do so and please cite all of your sources via footnote. The city-state has been called a community of citizens. How does this definition reflect the reality of the situation of Greek city-states? Who were the citizens and what rights and responsibilities did they possess? What segments of the population were not considered citizens? What rights and duties did these people have?