Why did Socrates question Athenians about their beliefs?

Why did Socrates question Athenians about their beliefs?